Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
webern committed Mar 12, 2024
1 parent e172598 commit 572233a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tough/src/schema/decoded.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ impl<T> Eq for Decoded<T> {}

impl<T> PartialOrd for Decoded<T> {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
self.bytes.partial_cmp(&other.bytes)
Some(self.cmp(other))
}
}

Expand Down

0 comments on commit 572233a

Please sign in to comment.