std: Unsafe-wrap HashMap::get_many_unchecked_mut
This commit is contained in:
parent
4572ed6389
commit
87d850dff0
@ -1,5 +1,3 @@
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
@ -1020,7 +1018,7 @@ where
|
||||
K: Borrow<Q>,
|
||||
Q: Hash + Eq,
|
||||
{
|
||||
self.base.get_many_unchecked_mut(ks)
|
||||
unsafe { self.base.get_many_unchecked_mut(ks) }
|
||||
}
|
||||
|
||||
/// Returns `true` if the map contains a value for the specified key.
|
||||
|
Loading…
x
Reference in New Issue
Block a user