diff options
Diffstat (limited to 'core/src/hasher.rs')
-rw-r--r-- | core/src/hasher.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/src/hasher.rs b/core/src/hasher.rs index fa52f16d..a13d78af 100644 --- a/core/src/hasher.rs +++ b/core/src/hasher.rs @@ -1,10 +1,11 @@ /// The hasher used to compare layouts. -#[derive(Debug, Default)] -pub struct Hasher(twox_hash::XxHash64); +#[allow(missing_debug_implementations)] // Doesn't really make sense to have debug on the hasher state anyways. +#[derive(Default)] +pub struct Hasher(xxhash_rust::xxh3::Xxh3); impl core::hash::Hasher for Hasher { fn write(&mut self, bytes: &[u8]) { - self.0.write(bytes) + self.0.write(bytes); } fn finish(&self) -> u64 { |