3 ms·
Just remembered that Rust realised that manual handling of errors everywhere doesn't work, and introduced `try!` macro, and then the `?` operator. These are mo
by dmitriid 4y ago
Just remembered that Rust realised that manual handling of errors everywhere doesn't work, and introduced `try!` macro, and then the `?` operator.
These are more practical (and good thing Rust isn't rigid at the expense of pragmatism).
And of course since panics are not the answer to everything exceptional, there's now a `catch_unwind`, too