17 ms·
? Are you mistaking Rust for some other language? Error handling in Rust is mostly just using the `?` operator. The Rust book explains - https://doc.rust-lang
by nindalf 5y ago
?
Are you mistaking Rust for some other language? Error handling in Rust is mostly just using the `?` operator.
The Rust book explains - https://doc.rust-lang.org/book/ch09-02-recoverable-errors-with-result.html#a-shortcut-for-propagating-errors-the--operator https://doc.rust-lang.org/book/ch09-02-recoverable-errors-wi...