1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-14 09:11:02 +00:00
uutils-coreutils/tests/common
Nicolas Boichat c6e06af84a tests/common/util: Use is_none_or instead of map_or
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())`
2025-03-04 09:57:13 +01:00
..
macros.rs all: normalize license notice in all *.rs files 2023-08-24 12:21:09 +02:00
mod.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
random.rs tests/common/random.rs: adapt to rand API changes 2025-01-30 08:52:42 +01:00
util.rs tests/common/util: Use is_none_or instead of map_or 2025-03-04 09:57:13 +01:00