3 ms·
Force the program to be written in a way to handle them? There ought to be a lint that says, no unwraps. Unfortunately, the stdlib is designed for "common use",
by anon-3988 2y ago
Force the program to be written in a way to handle them? There ought to be a lint that says, no unwraps. Unfortunately, the stdlib is designed for "common use", not "highly critical infrastructure".
- rascul 2y ago> There ought to be a lint that says, no unwraps. I think this is it: https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used https://rust-lang.github.io/rust-clippy/master/index.html#un...