Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Oct 12, 2023
1 parent 475c25f commit a11b8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bingen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ mod segments {

impl PartialOrd for CodeSegment<'_> {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
self.addr.partial_cmp(&other.addr)
Some(self.cmp(other))
}
}

Expand Down

0 comments on commit a11b8e2

Please sign in to comment.