Skip to content

Commit 8364d3e

Browse files
committed
fix lint
1 parent 3448b6f commit 8364d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ impl<'a, K: 'a + Eq + Hash, V: 'a, S: 'a + BuildHasher + Clone> Map<'a, K, V, S>
960960
if let RawEntryMut::Occupied(entry) =
961961
shard.raw_entry_mut().from_key_hashed_nocheck(hash, key)
962962
{
963-
if f(&entry.key(), &entry.get().get()) {
963+
if f(entry.key(), entry.get().get()) {
964964
let (k, v) = entry.remove_entry();
965965
Some((k, v.into_inner()))
966966
} else {

0 commit comments

Comments
 (0)