We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d97a91 commit 44a595fCopy full SHA for 44a595f
1 file changed
src/libsyntax_pos/symbol.rs
@@ -1157,8 +1157,7 @@ impl fmt::Display for SymbolStr {
1157
impl<CTX> HashStable<CTX> for SymbolStr {
1158
#[inline]
1159
fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) {
1160
- let str = self as &str;
1161
- str.hash_stable(hcx, hasher)
+ self.string.hash_stable(hcx, hasher)
1162
}
1163
1164
0 commit comments