Skip to content

Commit 6968f4c

Browse files
committed
Fix impl PartialOrd for InternedString
1 parent ff2ac35 commit 6968f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax_pos/symbol.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ impl PartialOrd<InternedString> for InternedString {
527527
if self.symbol == other.symbol {
528528
return Some(Ordering::Equal);
529529
}
530-
self.with(|self_str| other.with(|other_str| self_str.partial_cmp(&other_str)))
530+
self.with(|self_str| other.with(|other_str| self_str.partial_cmp(other_str)))
531531
}
532532
}
533533

0 commit comments

Comments
 (0)