dashmap icon indicating copy to clipboard operation
dashmap copied to clipboard

Entry insert

Open SrTobi opened this issue 3 years ago • 0 comments

  1. Added VacantEntry::insert_entry as in the std.
  2. Added Entry::insert_entry as in the std.

Unfortunately I was not able to achieve this without requiring the key K to be Clone, but I think it's better than nothing. For cases where the key is not Clone or shouldn't be cloned, I ...

  1. ... added Entry::insert, which makes sense to me, but is not a function in the std.

SrTobi avatar Sep 11 '22 09:09 SrTobi