diff options
| author | tinaun <tinagma@gmail.com> | 2018-04-17 01:06:29 -0400 |
|---|---|---|
| committer | tinaun <tinagma@gmail.com> | 2018-04-17 01:22:28 -0400 |
| commit | fd042eee0002bc2640447c08034de00171ca1aa3 (patch) | |
| tree | 0365ec2590242c42a36b1c14eba9ceff5555a864 /src | |
| parent | b84baf23788e96a1d79de543eb264ff7d2334c63 (diff) | |
| download | rust-fd042eee0002bc2640447c08034de00171ca1aa3.tar.gz rust-fd042eee0002bc2640447c08034de00171ca1aa3.zip | |
stabilize `hash_map_remove_entry` feature
Diffstat (limited to 'src')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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<K, V, S> HashMap<K, V, S> /// # Examples /// /// ``` - /// #![feature(hash_map_remove_entry)] /// use std::collections::HashMap; /// /// # fn main() { @@ -1389,7 +1388,7 @@ impl<K, V, S> HashMap<K, V, S> /// 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<Q: ?Sized>(&mut self, k: &Q) -> Option<(K, V)> where K: Borrow<Q>, Q: Hash + Eq |
