3 ms·
It's simply that Rust has higher standards for breaking changes than "probably not in wide use." In other words, that someone could have had `let union =`... so
by steveklabnik 1y ago
It's simply that Rust has higher standards for breaking changes than "probably not in wide use." In other words, that someone could have had `let union =`... somewhere was a reason to make it contextual.
https://rust-lang.github.io/rfcs/1444-union.html#contextual-keyword https://rust-lang.github.io/rfcs/1444-union.html#contextual-...
- munificent 1y agoOoooooh, I see my confusion now. My brain switched off and I got enums and unions confused. I was like, wait, hasn't Rust had them since day one? I was thinking of `enum`, not `union`. My bad.
- steveklabnik 1y agoAhhh yeah, no worries!