diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e268a436..507c7cc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,7 +104,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.88" # STABLE + toolchain: "1.89" # STABLE - uses: Swatinem/rust-cache@v2 - name: Check documentation env: @@ -119,7 +119,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.88" # STABLE + toolchain: "1.89" # STABLE components: rustfmt - uses: Swatinem/rust-cache@v2 - name: Check formatting @@ -135,7 +135,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.88" # STABLE + toolchain: "1.89" # STABLE components: clippy - uses: Swatinem/rust-cache@v2 - name: Install SARIF tools diff --git a/crates/snapbox/src/filter/redactions.rs b/crates/snapbox/src/filter/redactions.rs index 6eed6d1b..b8ad7f16 100644 --- a/crates/snapbox/src/filter/redactions.rs +++ b/crates/snapbox/src/filter/redactions.rs @@ -297,7 +297,7 @@ impl From<&'_ regex::Regex> for RedactedValue { impl PartialOrd for RedactedValueInner { fn partial_cmp(&self, other: &Self) -> Option { - Some(self.as_cmp().cmp(&other.as_cmp())) + Some(self.cmp(other)) } }