diff --git a/crates/nailkov/src/token.rs b/crates/nailkov/src/token.rs index bfdfdbc..f731eb5 100644 --- a/crates/nailkov/src/token.rs +++ b/crates/nailkov/src/token.rs @@ -59,7 +59,7 @@ impl TokenPair { } /// Use the precomputed hashes to generate a secondary hash. - /// Method from [fastbloom](https://github.com/tomtomwombat/fastbloom/blob/main/src/hasher.rs#L190), + /// Method from [fastbloom](https://github.com/tomtomwombat/fastbloom/blob/main/src/hasher.rs#L182), /// which was in turn adapted from . #[inline(always)] fn mix_hashes(&self) -> u64 { @@ -67,8 +67,8 @@ impl TokenPair { .0 .digest() .hash() - .wrapping_add(self.right.0.digest().hash()) .rotate_left(5) + .wrapping_add(self.right.0.digest().hash()) } }