dashmap icon indicating copy to clipboard operation
dashmap copied to clipboard

refactor: replace Borrow requirement on key with hashbrown::Equivalent

Open tomkarw opened this issue 2 years ago • 0 comments

Closes https://github.com/xacrimon/dashmap/issues/183.

Equivalent trait is implemented automatically for Borrow, but additionally it can be implemented for complex types.

Also reexports hashbrown::Equivalent to ease custom implementations without having to add hashbrown crate to dependencies.

tomkarw avatar Aug 09 '23 19:08 tomkarw