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 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)) } }