Skip to content
Permalink
Browse files

Further reduce the likelyhood of hash collisions

  • Loading branch information...
oli-obk committed Jun 21, 2019
1 parent 0102942 commit d46a373b391cb546f5a737fd5009f7733c220531
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/librustc/ich/impls_ty.rs
@@ -180,6 +180,7 @@ impl<'a> HashStable<StableHashingContext<'a>> for mir::interpret::Allocation {
extra: _,
} = self;
bytes.hash_stable(hcx, hasher);
relocations.len().hash_stable(hcx, hasher);
for reloc in relocations.iter() {
reloc.hash_stable(hcx, hasher);
}

0 comments on commit d46a373

Please sign in to comment.
You can’t perform that action at this time.