2 ms·
> I think, essentially user-facing syntactic sugar, One thing to remember is that Rust is a bit weird here; often times, features like this are "sugar" in a se
by steveklabnik 3y ago
> I think, essentially user-facing syntactic sugar,
One thing to remember is that Rust is a bit weird here; often times, features like this are "sugar" in a sense, but that sugar lets you write safe code, whereas the non-sugar version would force you to write unsafe. This means this kind of thing is a larger win in Rust than it would be in other languages.
- munificent 3y agoYeah, that's a good point.