mirror of https://github.com/xacrimon/dashmap
lint
This commit is contained in:
parent
14ada646c5
commit
1b8747d1b5
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue