]> git.lizzy.rs Git - rust.git/commit
libstd: Deprecate _equiv methods
authorAaron Turon <aturon@mozilla.com>
Wed, 12 Nov 2014 22:55:51 +0000 (14:55 -0800)
committerAaron Turon <aturon@mozilla.com>
Mon, 17 Nov 2014 19:26:47 +0000 (11:26 -0800)
commit80a2867ea736007397aa2fbaa0e4c539c80e162c
treed65213d4904627724c933c67c00a2ac4699e0c81
parent5eec666c8c4be3706a79755e6cb1119990390c79
libstd: Deprecate _equiv methods

This commit deprecates the `_equiv` family of methods on `HashMap` and
`HashSet` by instead generalizing the "normal" methods like `get` and
`remove` to use the new `std::borrow` infrastructure.

[breaking-change]
src/libstd/collections/hash/map.rs
src/libstd/collections/hash/set.rs