From fd042eee0002bc2640447c08034de00171ca1aa3 Mon Sep 17 00:00:00 2001 From: tinaun Date: Tue, 17 Apr 2018 01:06:29 -0400 Subject: stabilize `hash_map_remove_entry` feature --- src/libstd/collections/hash/map.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index 20a4f9b508d..14ef8563bb0 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -1379,7 +1379,6 @@ impl HashMap /// # Examples /// /// ``` - /// #![feature(hash_map_remove_entry)] /// use std::collections::HashMap; /// /// # fn main() { @@ -1389,7 +1388,7 @@ impl HashMap /// assert_eq!(map.remove(&1), None); /// # } /// ``` - #[unstable(feature = "hash_map_remove_entry", issue = "46344")] + #[stable(feature = "hash_map_remove_entry", since = "1.27.0")] pub fn remove_entry(&mut self, k: &Q) -> Option<(K, V)> where K: Borrow, Q: Hash + Eq -- cgit 1.4.1-3-g733a5