diff options
| -rw-r--r-- | src/libsyntax_pos/symbol.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs index b84ff5697a4..2258ed12779 100644 --- a/src/libsyntax_pos/symbol.rs +++ b/src/libsyntax_pos/symbol.rs @@ -527,7 +527,7 @@ impl PartialOrd<InternedString> for InternedString { if self.symbol == other.symbol { return Some(Ordering::Equal); } - self.with(|self_str| other.with(|other_str| self_str.partial_cmp(&other_str))) + self.with(|self_str| other.with(|other_str| self_str.partial_cmp(other_str))) } } |
