3 ms·
Right, I suppose I forgot that a big reason `Result` works well in Rust is the `?` operator. At the very least, I'll appreciate having some more sugar over loo
by dgunay 5y ago
Right, I suppose I forgot that a big reason `Result` works well in Rust is the `?` operator.
At the very least, I'll appreciate having some more sugar over loops that are essentially just map/filter.
- tialaramex 5y agoThe ? operator wasn't in Rust 1.0 Before Rust 1.12, Rust has a macro, named try! which does a similar thing to its argument although the built-in operator has some fancier features.