Skip to content

Commit

Permalink
fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Skgland committed Nov 7, 2023
1 parent 1fc48e9 commit 0b36644
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.serialization.cmp(&other.serialization))

Check warning on line 2700 in url/src/lib.rs

View check run for this annotation

Codecov / codecov/patch

url/src/lib.rs#L2700

Added line #L2700 was not covered by tests
}
}

Expand Down

0 comments on commit 0b36644

Please sign in to comment.