Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#350 - timothee-haudebourg:equivalent-trait, r…
…=Amanieu `Equivalent` trait This PR introduces an `Equivalent` trait, as requested in rust-lang#345, to customize lookup operations without requiring a `Borrow` implementation. It provides a blanket implementation that covers the `Borrow` case so it should not break anything. The `hash_map::EntryRef` API, although it uses the `Borrow` trait, remains unchanged as this would introduce some breaking changes.
- Loading branch information