Skip to content

Commit

Permalink
pleasing clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
pchampin committed Sep 11, 2024
1 parent d27f233 commit b1f4078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ impl<'a> Eq for MownStr<'a> {}

impl<'a> PartialOrd for MownStr<'a> {
fn partial_cmp(&self, other: &MownStr<'a>) -> Option<std::cmp::Ordering> {
self.deref().partial_cmp(other.deref())
Some(self.cmp(other))
}
}

Expand Down

0 comments on commit b1f4078

Please sign in to comment.