Commit 31e9c94
committed
auto merge of #12544 : erickt/rust/hash, r=acrichto
This PR allows `HashMap`s to work with custom hashers. Also with this patch are:
* a couple generic implementations of `Hash` for a variety of types.
* added `Default`, `Clone` impls to the hashers.
* added a `HashMap::with_hasher()` constructor.File tree
6 files changed
+181
-110
lines changed- src
- libcollections
- librustc/middle
- libserialize
- libstd/hash
6 files changed
+181
-110
lines changed
0 commit comments