Skip to content

Commit

Permalink
Fix clippy (#878)
Browse files Browse the repository at this point in the history
  • Loading branch information
valenting authored Nov 7, 2023
1 parent a08aa2c commit e39c9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion url/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2697,7 +2697,7 @@ impl Ord for Url {
impl PartialOrd for Url {
#[inline]
fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> {
self.serialization.partial_cmp(&other.serialization)
Some(self.cmp(other))
}
}

Expand Down

0 comments on commit e39c9a2

Please sign in to comment.