Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrifuno committed Oct 18, 2023
1 parent 9d052b1 commit f851795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickphf/src/raw_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl<K, V> RawPhfMap<K, V> {
K: Borrow<Q>,
Q: Hash + ?Sized,
{
let key_hash = hash_key(key.borrow(), self.seed);
let key_hash = hash_key(key, self.seed);

let bucket = get_bucket(key_hash, self.buckets);
let pilot_hash = hash_pilot_value(self.pilots_table[bucket]);
Expand Down

0 comments on commit f851795

Please sign in to comment.