4 ms·
Every unwrap() is the point, where you need to check return value for an error, unless you are writing one-time code. If you don't care about errors, don't use
by lisivka 10y ago
Every unwrap() is the point, where you need to check return value for an error, unless you are writing one-time code.
If you don't care about errors, don't use Rust. Use C instead. Simple solution.