Skip to content

Commit e39c9a2

Browse files
authored
Fix clippy (#878)
1 parent a08aa2c commit e39c9a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

url/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2697,7 +2697,7 @@ impl Ord for Url {
26972697
impl PartialOrd for Url {
26982698
#[inline]
26992699
fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> {
2700-
self.serialization.partial_cmp(&other.serialization)
2700+
Some(self.cmp(other))
27012701
}
27022702
}
27032703

0 commit comments

Comments
 (0)