mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
fixup! Improve `Allocation::hash
This commit is contained in:
parent
5853c28a7f
commit
cab94d29ff
@ -115,7 +115,7 @@ impl hash::Hash for Allocation {
|
||||
init_mask,
|
||||
align,
|
||||
mutability,
|
||||
extra: _, // don't bother hashing ()
|
||||
extra: (), // don't bother hashing ()
|
||||
} = self;
|
||||
|
||||
// Partially hash the `bytes` buffer when it is large. To limit collisions with common
|
||||
|
Loading…
Reference in New Issue
Block a user