3 ms·
This is good. All the people questioning the spec need to realize is handling the error should be opt-out, not opt-in. #[must_use] in Rust is the right idea: R
by Ericson2314 5y ago
This is good. All the people questioning the spec need to realize is handling the error should be opt-out, not opt-in.
#[must_use] in Rust is the right idea: Rust doesn't automatically do anything --- there is no policy foisted upon the programmer --- but it will reliably force the programmer to do something about the error explicitly.