From 22e9efecc9b01ed395be70e72c8b81296aafb8f1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 7 Aug 2025 12:35:50 +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 e499105..dd74244 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,7 +86,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: @@ -101,7 +101,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 @@ -117,7 +117,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 4cf9a6377d9586d629470e5fde494d700a422924 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 7 Aug 2025 07:50:57 -0500 Subject: [PATCH 2/2] style: Make clippy happy --- crates/git-branch-stash/src/snapshot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/git-branch-stash/src/snapshot.rs b/crates/git-branch-stash/src/snapshot.rs index e83681a..fb87d12 100644 --- a/crates/git-branch-stash/src/snapshot.rs +++ b/crates/git-branch-stash/src/snapshot.rs @@ -131,7 +131,7 @@ where impl PartialOrd for Branch { fn partial_cmp(&self, other: &Self) -> Option { - Some((&self.name, self.id).cmp(&(&other.name, other.id))) + Some(self.cmp(other)) } }