Skip to content

Commit 733d727

Browse files
committed
fix clippy on PartialOrd
1 parent e5e7b18 commit 733d727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/report.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ impl Borrow<str> for XmlString {
765765

766766
impl PartialOrd for XmlString {
767767
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
768-
self.data.partial_cmp(&other.data)
768+
Some(self.data.cmp(&other.data))
769769
}
770770
}
771771

0 commit comments

Comments
 (0)