Skip to content

Commit fd78621

Browse files
committed
38880 fixup add missing mut
1 parent 29f7148 commit fd78621

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/collections/hash

1 file changed

+1
-1
lines changed

src/libstd/collections/hash/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ fn search_hashed<K, V, M, F>(table: M, hash: SafeHash, is_match: F) -> InternalE
417417

418418
/// Search for a pre-hashed key when the hash map is known to be non-empty.
419419
#[inline]
420-
fn search_hashed_nonempty<K, V, M, F>(table: M, hash: SafeHash, is_match: F)
420+
fn search_hashed_nonempty<K, V, M, F>(table: M, hash: SafeHash, mut is_match: F)
421421
-> InternalEntry<K, V, M>
422422
where M: Deref<Target = RawTable<K, V>>,
423423
F: FnMut(&K) -> bool

0 commit comments

Comments
 (0)