This commit is contained in:
Joel Wejdenstål 2023-07-11 05:35:57 +02:00
parent 14ada646c5
commit 1b8747d1b5
No known key found for this signature in database
GPG Key ID: DF03CEFBB1A915AA
1 changed files with 1 additions and 3 deletions

View File

@ -159,9 +159,7 @@ impl<'a, K: Eq + Hash, V, S: BuildHasher> VacantEntry<'a, K, V, S> {
let kptr: *const K = k;
let vptr: *mut V = v.as_ptr();
let r = OccupiedEntry::new(self.shard, self.key, (kptr, vptr));
r
OccupiedEntry::new(self.shard, self.key, (kptr, vptr))
}
}