▲ | skirmish 2 days ago | |
Rust does "errors as values" pretty well, see [1]. You can manually handle them if you want, or just apply the '?' operator to auto-propagate them out of the function. In both cases, it is obvious that there was an error handling needed. [1] https://doc.rust-lang.org/book/ch09-02-recoverable-errors-wi... | ||
▲ | wesselbindt 2 days ago | parent [-] | |
I didn't know that! Every time I hear about Rust my opinion of it grows brighter. Thanks for sharing this! |