Skip to content

Commit

Permalink
Minor comment typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Aug 6, 2024
1 parent 634be88 commit 75db433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ impl HashTrieMapPy {
PyResult::<usize>::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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 75db433

Please sign in to comment.