fixup! Improve `Allocation::hash
This commit is contained in:
parent
5853c28a7f
commit
cab94d29ff
@ -115,7 +115,7 @@ fn hash<H: hash::Hasher>(&self, state: &mut H) {
|
|||||||
init_mask,
|
init_mask,
|
||||||
align,
|
align,
|
||||||
mutability,
|
mutability,
|
||||||
extra: _, // don't bother hashing ()
|
extra: (), // don't bother hashing ()
|
||||||
} = self;
|
} = self;
|
||||||
|
|
||||||
// Partially hash the `bytes` buffer when it is large. To limit collisions with common
|
// Partially hash the `bytes` buffer when it is large. To limit collisions with common
|
||||||
|
Loading…
Reference in New Issue
Block a user