2 ms·
For Result, in nightly, there is sugar, though it's for try!, not unwrap(), which serve very similar purposes. It's not yet clear if said sugar will support Op
by steveklabnik 10y ago
For Result, in nightly, there is sugar, though it's for try!, not unwrap(), which serve very similar purposes.
It's not yet clear if said sugar will support Option; that's one of the reasons it's not stable yet.
Feel free to post off-topic questions on https://users.rust-lang.org/ https://users.rust-lang.org/ any time!