@@ -2754,7 +2754,6 @@ impl<'a, K, V> Entry<'a, K, V> {
2754
2754
/// # Examples
2755
2755
///
2756
2756
/// ```
2757
- /// #![feature(entry_insert)]
2758
2757
/// use std::collections::HashMap;
2759
2758
///
2760
2759
/// let mut map: HashMap<&str, String> = HashMap::new();
@@ -2763,7 +2762,7 @@ impl<'a, K, V> Entry<'a, K, V> {
2763
2762
/// assert_eq!(entry.key(), &"poneyland");
2764
2763
/// ```
2765
2764
#[ inline]
2766
- #[ unstable ( feature = "entry_insert" , issue = "65225 " ) ]
2765
+ #[ stable ( feature = "entry_insert" , since = "CURRENT_RUSTC_VERSION " ) ]
2767
2766
pub fn insert_entry ( self , value : V ) -> OccupiedEntry < ' a , K , V > {
2768
2767
match self {
2769
2768
Occupied ( mut entry) => {
@@ -3097,7 +3096,6 @@ impl<'a, K: 'a, V: 'a> VacantEntry<'a, K, V> {
3097
3096
/// # Examples
3098
3097
///
3099
3098
/// ```
3100
- /// #![feature(entry_insert)]
3101
3099
/// use std::collections::HashMap;
3102
3100
/// use std::collections::hash_map::Entry;
3103
3101
///
@@ -3109,7 +3107,7 @@ impl<'a, K: 'a, V: 'a> VacantEntry<'a, K, V> {
3109
3107
/// assert_eq!(map["poneyland"], 37);
3110
3108
/// ```
3111
3109
#[ inline]
3112
- #[ unstable ( feature = "entry_insert" , issue = "65225 " ) ]
3110
+ #[ stable ( feature = "entry_insert" , since = "CURRENT_RUSTC_VERSION " ) ]
3113
3111
pub fn insert_entry ( self , value : V ) -> OccupiedEntry < ' a , K , V > {
3114
3112
let base = self . base . insert_entry ( value) ;
3115
3113
OccupiedEntry { base }
0 commit comments