Skip to content

Commit fd042ee

Browse files
committedApr 17, 2018
stabilize hash_map_remove_entry feature
1 parent b84baf2 commit fd042ee

File tree

1 file changed

+1
-2
lines changed
  • src/libstd/collections/hash

1 file changed

+1
-2
lines changed
 

‎src/libstd/collections/hash/map.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,6 @@ impl<K, V, S> HashMap<K, V, S>
13791379
/// # Examples
13801380
///
13811381
/// ```
1382-
/// #![feature(hash_map_remove_entry)]
13831382
/// use std::collections::HashMap;
13841383
///
13851384
/// # fn main() {
@@ -1389,7 +1388,7 @@ impl<K, V, S> HashMap<K, V, S>
13891388
/// assert_eq!(map.remove(&1), None);
13901389
/// # }
13911390
/// ```
1392-
#[unstable(feature = "hash_map_remove_entry", issue = "46344")]
1391+
#[stable(feature = "hash_map_remove_entry", since = "1.27.0")]
13931392
pub fn remove_entry<Q: ?Sized>(&mut self, k: &Q) -> Option<(K, V)>
13941393
where K: Borrow<Q>,
13951394
Q: Hash + Eq

0 commit comments

Comments
 (0)
Please sign in to comment.