Remove OccupiedEntry::remove_pair
[unstable, deprecated since 1.12.0]
This commit is contained in:
parent
a724ff90e7
commit
df86cecdd2
4 changed files with 0 additions and 20 deletions
|
|
@ -2217,13 +2217,6 @@ impl<'a, K: Ord, V> OccupiedEntry<'a, K, V> {
|
|||
self.handle.reborrow().into_kv().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 ownership of the key and value from the map.
|
||||
///
|
||||
/// # Examples
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue