@@ -275,7 +275,6 @@ impl<'a, K: Ord, V, A: Allocator + Clone> Entry<'a, K, V, A> {
275275 /// # Examples
276276 ///
277277 /// ```
278- /// #![feature(btree_entry_insert)]
279278 /// use std::collections::BTreeMap;
280279 ///
281280 /// let mut map: BTreeMap<&str, String> = BTreeMap::new();
@@ -284,7 +283,7 @@ impl<'a, K: Ord, V, A: Allocator + Clone> Entry<'a, K, V, A> {
284283 /// assert_eq!(entry.key(), &"poneyland");
285284 /// ```
286285 #[ inline]
287- #[ unstable ( feature = "btree_entry_insert" , issue = "65225 " ) ]
286+ #[ stable ( feature = "btree_entry_insert" , since = "CURRENT_RUSTC_VERSION " ) ]
288287 pub fn insert_entry ( self , value : V ) -> OccupiedEntry < ' a , K , V , A > {
289288 match self {
290289 Occupied ( mut entry) => {
@@ -383,7 +382,6 @@ impl<'a, K: Ord, V, A: Allocator + Clone> VacantEntry<'a, K, V, A> {
383382 /// # Examples
384383 ///
385384 /// ```
386- /// #![feature(btree_entry_insert)]
387385 /// use std::collections::BTreeMap;
388386 /// use std::collections::btree_map::Entry;
389387 ///
@@ -395,7 +393,7 @@ impl<'a, K: Ord, V, A: Allocator + Clone> VacantEntry<'a, K, V, A> {
395393 /// }
396394 /// assert_eq!(map["poneyland"], 37);
397395 /// ```
398- #[ unstable ( feature = "btree_entry_insert" , issue = "65225 " ) ]
396+ #[ stable ( feature = "btree_entry_insert" , since = "CURRENT_RUSTC_VERSION " ) ]
399397 pub fn insert_entry ( mut self , value : V ) -> OccupiedEntry < ' a , K , V , A > {
400398 let handle = match self . handle {
401399 None => {
0 commit comments