3 ms·
My criticism might be due to a bit of impedance mismatch, that's for sure (Or maybe I'm just missing exceptions - because, as an example: I want to read a file
by raverbashing 10y ago
My criticism might be due to a bit of impedance mismatch, that's for sure
(Or maybe I'm just missing exceptions - because, as an example: I want to read a file and what I care about is getting a fd, anything before that "doesn't matter" and I don't want to care about every step)
On the subject, this page is good for those curious about it https://doc.rust-lang.org/book/error-handling.html https://doc.rust-lang.org/book/error-handling.html
- moosingin3space 10y agoThat sounds like a good use case for the ? operator in Rust 1.13+.