Great to see Rustup reach 1.0 release. I like how easy it makes to test out different versions of rust and its toolchains.
I like the '..' addition for structs. It definitely improved the pattern matching over structs.
let p = Point { x: 0, y: 1, z: 2 };
match p {
Point { x, .. } => println!("x is {}", x),
}
Congrats to the Rust Team for another good release!!Question from someone who don't know Rust: Why two dots instead of an ellipsis (three)?
Three dots doesn't look like an ellipsis in a monospaced font, it's far too wide.
It can if you use a monospaced font with ligatures.
Take a look at Fira Code [1]. I use it in Vim and IntelliJ, and it looks great with Rust and other functional languages.