diff --git a/src/lib.rs b/src/lib.rs index af95126..3b0cfbd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -216,7 +216,7 @@ impl HashTrieMapPy { PyResult::::Ok(acc ^ hash_shuffle_bits(x?)) })?; - // facto in the number of entries in the collection + // factor in the number of entries in the collection hash_val ^= (self.inner.size() + 1) * 1927868237; // dispense patterns in the hash value @@ -832,7 +832,7 @@ impl HashTrieSetPy { .map(|k| k.hash as usize) .fold(0, |acc: usize, x: usize| acc ^ hash_shuffle_bits(x)); - // facto in the number of entries in the collection + // factor in the number of entries in the collection hash_val ^= (self.inner.size() + 1) * 1927868237; // dispense patterns in the hash value