From Trait
One of the more confusing examples for me to learn when studying Dave Macleod’s excellent “Rust in a Month of Lunches” was page 145. Check the “Rust Book” for the official description of the from trait : https://doc.rust-lang.org/std/convert/trait.From.html I modified the example to use cities in England to help me relate to it! Two cities, […]