Skip to content

Commit b3717fd

Browse files
author
Sujay Jayakar
committed
Remove extraneous reservation
1 parent e1d1a17 commit b3717fd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/map.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,6 @@ impl<'a, K, V, S> RawVacantEntryMut<'a, K, V, S> {
16481648
S: BuildHasher,
16491649
H: Fn(&K) -> u64,
16501650
{
1651-
self.table.reserve(1, |x| hasher(&x.0));
16521651
unsafe {
16531652
let elem = self.table.insert(hash, (key, value), |x| hasher(&x.0));
16541653
let &mut (ref mut key, ref mut value) = elem.as_mut();

0 commit comments

Comments
 (0)