mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
c6e06af84a
Following clippy advice:
error: this `map_or` can be simplified
--> tests\common\util.rs:411:9
|
411 | self.exit_status.map_or(true, |e| e.success())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use is_none_or instead: `self.exit_status.is_none_or(|e| e.success())`