A pit full of rusty nails

Tweak hash mixing

+2 -2
+2 -2
crates/nailkov/src/token.rs
··· 59 59 } 60 60 61 61 /// Use the precomputed hashes to generate a secondary hash. 62 - /// Method from [fastbloom](https://github.com/tomtomwombat/fastbloom/blob/main/src/hasher.rs#L190), 62 + /// Method from [fastbloom](https://github.com/tomtomwombat/fastbloom/blob/main/src/hasher.rs#L182), 63 63 /// which was in turn adapted from <https://www.eecs.harvard.edu/~michaelm/postscripts/rsa2008.pdf>. 64 64 #[inline(always)] 65 65 fn mix_hashes(&self) -> u64 { ··· 67 67 .0 68 68 .digest() 69 69 .hash() 70 - .wrapping_add(self.right.0.digest().hash()) 71 70 .rotate_left(5) 71 + .wrapping_add(self.right.0.digest().hash()) 72 72 } 73 73 } 74 74