about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorDutchGhost <kasper199914@gmail.com>2020-04-02 21:35:26 +0200
committerDutchGhost <kasper199914@gmail.com>2020-04-02 21:35:26 +0200
commit3f1a588a941d271a157ad78d0c748a1e95d8da63 (patch)
tree4069ac014e989e55edd617af3d6ccc09b45573c9 /src/liballoc
parent8ab82b87af4f20b6c0a481e050517103d50263e9 (diff)
downloadrust-3f1a588a941d271a157ad78d0c748a1e95d8da63.tar.gz
rust-3f1a588a941d271a157ad78d0c748a1e95d8da63.zip
stabilize BTreeMap::remove_entry
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/collections/btree/map.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/liballoc/collections/btree/map.rs b/src/liballoc/collections/btree/map.rs
index bde66c406af..06e10a0c62d 100644
--- a/src/liballoc/collections/btree/map.rs
+++ b/src/liballoc/collections/btree/map.rs
@@ -894,7 +894,6 @@ impl<K: Ord, V> BTreeMap<K, V> {
     /// Basic usage:
     ///
     /// ```
-    /// #![feature(btreemap_remove_entry)]
     /// use std::collections::BTreeMap;
     ///
     /// let mut map = BTreeMap::new();
@@ -902,7 +901,7 @@ impl<K: Ord, V> BTreeMap<K, V> {
     /// assert_eq!(map.remove_entry(&1), Some((1, "a")));
     /// assert_eq!(map.remove_entry(&1), None);
     /// ```
-    #[unstable(feature = "btreemap_remove_entry", issue = "66714")]
+    #[stable(feature = "btreemap_remove_entry", since = "1.44.0")]
     pub fn remove_entry<Q: ?Sized>(&mut self, key: &Q) -> Option<(K, V)>
     where
         K: Borrow<Q>,