Skip to content

Commit 4cf9a63

Browse files
committed
style: Make clippy happy
1 parent 22e9efe commit 4cf9a63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/git-branch-stash/src/snapshot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ where
131131

132132
impl PartialOrd for Branch {
133133
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
134-
Some((&self.name, self.id).cmp(&(&other.name, other.id)))
134+
Some(self.cmp(other))
135135
}
136136
}
137137

0 commit comments

Comments
 (0)