]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/collections/hash/map.rs
Auto merge of #41437 - cuviper:remove-unstable-deprecated, r=alexcrichton
[rust.git] / src / libstd / collections / hash / map.rs
index e7102115caf5cd3505c5bb22b3d6338c87b18c92..51d127f8ba79a246c33745356c94ab0888f4bf98 100644 (file)
@@ -2017,13 +2017,6 @@ pub fn key(&self) -> &K {
         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