dashmap
dashmap copied to clipboard
refactor: replace Borrow requirement on key with hashbrown::Equivalent
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.