diff options
| author | Josh Stone <jistone@redhat.com> | 2017-04-20 13:50:47 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2017-04-20 21:16:31 -0700 |
| commit | df86cecdd2ca927110c48c97227a62d1d0c8f7ce (patch) | |
| tree | 0dc0df348137158627f1237e79a27fa0117f0e85 /src/libstd | |
| parent | a724ff90e744c782e425e634defbf143b8ef62b9 (diff) | |
| download | rust-df86cecdd2ca927110c48c97227a62d1d0c8f7ce.tar.gz rust-df86cecdd2ca927110c48c97227a62d1d0c8f7ce.zip | |
Remove OccupiedEntry::remove_pair
[unstable, deprecated since 1.12.0]
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index eacb59d375a..c8732e68c85 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -2017,13 +2017,6 @@ impl<'a, K, V> OccupiedEntry<'a, K, V> { self.elem.read().0 } - /// Deprecated, renamed to `remove_entry` - #[unstable(feature = "map_entry_recover_keys", issue = "34285")] - #[rustc_deprecated(since = "1.12.0", reason = "renamed to `remove_entry`")] - pub fn remove_pair(self) -> (K, V) { - self.remove_entry() - } - /// Take the ownership of the key and value from the map. /// /// # Examples |
