Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xacrimon committed Jul 11, 2023
1 parent 14ada64 commit 1b8747d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mapref/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}

Expand Down

0 comments on commit 1b8747d

Please sign in to comment.