From 3d1cdb6891eb96156dc3c7f81e648fd203f3cc73 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 7 Aug 2025 14:24:46 +0000 Subject: [PATCH 1/2] chore(deps): Update Rust Stable to v1.89 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e268a43..507c7cc 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 From 38cedfc7bbe3a9543b0f0417215444f530bf788d Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 7 Aug 2025 09:45:16 -0500 Subject: [PATCH 2/2] style: Make clippy happy --- crates/snapbox/src/filter/redactions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/snapbox/src/filter/redactions.rs b/crates/snapbox/src/filter/redactions.rs index 6eed6d1..b8ad7f1 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)) } }