Hash Symbol directly
This commit is contained in:
parent
9d61b4e081
commit
7f340578cc
1 changed files with 1 additions and 1 deletions
|
|
@ -745,7 +745,7 @@ impl<'a, 'tcx> SpanlessHash<'a, 'tcx> {
|
|||
}
|
||||
|
||||
pub fn hash_name(&mut self, n: Symbol) {
|
||||
n.as_str().hash(&mut self.s);
|
||||
n.hash(&mut self.s);
|
||||
}
|
||||
|
||||
pub fn hash_qpath(&mut self, p: &QPath<'_>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue