mozilla/rust — pull request #12544 by erickt (2014-02-25 16:09:56+00:00)
Title: Change HashMap to be hasher-generic

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.