6 ms·
This is one of the things that makes Rust's error handling so elegant. The error "handling" code mostly part of the error types themselves, mostly in the form
by tomtomtom777 10y ago
This is one of the things that makes Rust's error handling so elegant.
The error "handling" code mostly part of the error types themselves, mostly in the form of to/from conversions.
The actual logic code can then rely on these conversions and is freed from bloat.