1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

Merge pull request #7394 from drinkcat/msrv-1.82.0

Bump MSRV to 1.82.0
This commit is contained in:
Sylvestre Ledru 2025-03-04 10:26:52 +01:00 committed by GitHub
commit 72299d3e16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -408,7 +408,7 @@ impl CmdResult {
/// Returns whether the program succeeded
pub fn succeeded(&self) -> bool {
self.exit_status.map_or(true, |e| e.success())
self.exit_status.is_none_or(|e| e.success())
}
/// asserts that the command resulted in a success (zero) status code