From dbb67f37091687042f864cd2b5d3948c6c9a5e29 Mon Sep 17 00:00:00 2001 From: rxc-amzn <148253733+rxc-amzn@users.noreply.github.com> Date: Wed, 10 Dec 2025 16:15:49 +0000 Subject: [PATCH] chore(header): fix clippy::assign_op_pattern --- src/header/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/header/map.rs b/src/header/map.rs index af6b623b..aefbb003 100644 --- a/src/header/map.rs +++ b/src/header/map.rs @@ -3693,7 +3693,7 @@ impl std::hash::Hasher for FnvHasher { fn write(&mut self, bytes: &[u8]) { let mut hash = self.0; for &b in bytes { - hash = hash ^ (b as u64); + hash ^= b as u64; hash = hash.wrapping_mul(0x100000001b3); } self.0 = hash;