4 ms·
Yeah I found this odd too. Rust docs say unwrap() shouldn't really be used, but through the rest of the documentation examples it's used everywhere. I suppose i
by jayflux 9y ago
Yeah I found this odd too.
Rust docs say unwrap() shouldn't really be used, but through the rest of the documentation examples it's used everywhere.
I suppose it's to keep the documentation simple and focused
- steveklabnik 9y agoYes, that's why. When ? Can be used in main, we will switch to that en mass.
- cjs_2 9y agoWhich RFC is this?
- steveklabnik 9y agohttps://github.com/rust-lang/rfcs/pull/1937 https://github.com/rust-lang/rfcs/pull/1937