diff --git a/.clippy.toml b/.clippy.toml index fa54164..a0467c2 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1,4 +1,4 @@ -msrv = "1.69.0" # MSRV +msrv = "1.70" # MSRV warn-on-all-wildcard-imports = true allow-expect-in-tests = true allow-unwrap-in-tests = true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d9c650..f97a90a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,7 +95,7 @@ jobs: - name: No-default features run: cargo miri test --no-default-features --features std msrv: - name: "Check MSRV: 1.69.0" + name: "Check MSRV: 1.70" runs-on: ubuntu-latest steps: - name: Checkout repository @@ -103,7 +103,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.69" # MSRV + toolchain: "1.70" # MSRV - uses: Swatinem/rust-cache@v2 - name: Default features run: cargo check --workspace --all-targets @@ -165,7 +165,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.69" # MSRV + toolchain: "1.70" # MSRV components: clippy - uses: Swatinem/rust-cache@v2 - name: Install SARIF tools diff --git a/Cargo.toml b/Cargo.toml index 462d6f0..bf3b89e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ resolver = "2" [workspace.package] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.69.0" # MSRV +rust-version = "1.70" # MSRV include = [ "build.rs", "src/**/*", diff --git a/tests/string.rs b/tests/string.rs index a92d35d..c7f3596 100644 --- a/tests/string.rs +++ b/tests/string.rs @@ -9,6 +9,7 @@ fn check_props( std_str: &str, kstr: kstring::KString, ) -> Result<(), proptest::test_runner::TestCaseError> { + #![allow(clippy::redundant_clone)] proptest::prop_assert_eq!(kstr.clone(), std_str); proptest::prop_assert_eq!(kstr.as_str(), std_str); proptest::prop_assert_eq!(kstr.len(), std_str.len());