1
Fork 0

Remove some unnecessary hash truncations

This commit is contained in:
Ben Kimock 2023-04-15 13:53:50 -04:00
parent fd57c6b407
commit 84facac97a
4 changed files with 9 additions and 33 deletions

View file

@ -75,7 +75,7 @@ impl<'a> HashStable<StableHashingContext<'a>> for SourceFile {
ref normalized_pos,
} = *self;
(name_hash as u64).hash_stable(hcx, hasher);
name_hash.hash_stable(hcx, hasher);
src_hash.hash_stable(hcx, hasher);