Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xacrimon committed Aug 22, 2023
1 parent 3448b6f commit 8364d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ impl<'a, K: 'a + Eq + Hash, V: 'a, S: 'a + BuildHasher + Clone> Map<'a, K, V, S>
if let RawEntryMut::Occupied(entry) =
shard.raw_entry_mut().from_key_hashed_nocheck(hash, key)
{
if f(&entry.key(), &entry.get().get()) {
if f(entry.key(), entry.get().get()) {
let (k, v) = entry.remove_entry();
Some((k, v.into_inner()))
} else {
Expand Down

0 comments on commit 8364d3e

Please sign in to comment.