fixup! Improve `Allocation::hash

This commit is contained in:
Nilstrieb 2023-04-09 23:23:33 +02:00
parent 5853c28a7f
commit cab94d29ff

View File

@ -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