diff options
| author | Shaun Steenkamp <theguywholikeslinux@gmail.com> | 2018-02-12 14:53:09 +0000 |
|---|---|---|
| committer | Shaun Steenkamp <theguywholikeslinux@gmail.com> | 2018-02-12 14:53:29 +0000 |
| commit | fd78621717e4f9f73b41256627bfe3a83aa5e660 (patch) | |
| tree | 2e888bb86f4288871e3b19ad65d05dd07835060b /src/libstd | |
| parent | 29f71488bc50843b65660867ab41e6ebf1101e6e (diff) | |
38880 fixup add missing mut
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index d798854927d..c4f3fdc283e 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -417,7 +417,7 @@ fn search_hashed<K, V, M, F>(table: M, hash: SafeHash, is_match: F) -> InternalE /// Search for a pre-hashed key when the hash map is known to be non-empty. #[inline] -fn search_hashed_nonempty<K, V, M, F>(table: M, hash: SafeHash, is_match: F) +fn search_hashed_nonempty<K, V, M, F>(table: M, hash: SafeHash, mut is_match: F) -> InternalEntry<K, V, M> where M: Deref<Target = RawTable<K, V>>, F: FnMut(&K) -> bool |
