dashmap
dashmap copied to clipboard
Entry insert
- Added
VacantEntry::insert_entryas in the std. - Added
Entry::insert_entryas 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 ...
- ... added
Entry::insert, which makes sense to me, but is not a function in the std.