We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4572ed6 commit 87d850dCopy full SHA for 87d850d
library/std/src/collections/hash/map.rs
@@ -1,5 +1,3 @@
1
-#![allow(unsafe_op_in_unsafe_fn)]
2
-
3
#[cfg(test)]
4
mod tests;
5
@@ -1020,7 +1018,7 @@ where
1020
1018
K: Borrow<Q>,
1021
1019
Q: Hash + Eq,
1022
{
1023
- self.base.get_many_unchecked_mut(ks)
+ unsafe { self.base.get_many_unchecked_mut(ks) }
1024
}
1025
1026
/// Returns `true` if the map contains a value for the specified key.
0 commit comments