diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index b545a35b366..923b4a03650 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -11,7 +11,7 @@ env: PROJECT_NAME: coreutils PROJECT_DESC: "Core universal (cross-platform) utilities" PROJECT_AUTH: "uutils" - RUST_MIN_SRV: "1.79.0" + RUST_MIN_SRV: "1.82.0" # * style job configuration STYLE_FAIL_ON_FAULT: true ## (bool) fail the build if a style job contains a fault (error or warning); may be overridden on a per-job basis diff --git a/Cargo.toml b/Cargo.toml index 64c11ce3cf6..8f42ddec502 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ repository = "https://github.com/uutils/coreutils" readme = "README.md" keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"] categories = ["command-line-utilities"] -rust-version = "1.79.0" +rust-version = "1.82.0" edition = "2021" build = "build.rs" diff --git a/README.md b/README.md index 47626fc4eb2..1aafd7e7456 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ [![dependency status](https://deps.rs/repo/github/uutils/coreutils/status.svg)](https://deps.rs/repo/github/uutils/coreutils) [![CodeCov](https://codecov.io/gh/uutils/coreutils/branch/master/graph/badge.svg)](https://codecov.io/gh/uutils/coreutils) -![MSRV](https://img.shields.io/badge/MSRV-1.79.0-brightgreen) +![MSRV](https://img.shields.io/badge/MSRV-1.82.0-brightgreen) @@ -70,7 +70,7 @@ the [coreutils docs](https://github.com/uutils/uutils.github.io) repository. ### Rust Version uutils follows Rust's release channels and is tested against stable, beta and -nightly. The current Minimum Supported Rust Version (MSRV) is `1.79.0`. +nightly. The current Minimum Supported Rust Version (MSRV) is `1.82.0`. ## Building diff --git a/tests/common/util.rs b/tests/common/util.rs index d6cfcab3407..d6352b993f4 100644 --- a/tests/common/util.rs +++ b/tests/common/util.rs @@ -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