@@ -580,7 +580,7 @@ impl<K, V> BTreeMap<K, V> {
580580 /// map.insert(1, "a");
581581 /// ```
582582 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
583- #[ rustc_const_stable( feature = "const_btree_new" , since = "CURRENT_RUSTC_VERSION " ) ]
583+ #[ rustc_const_stable( feature = "const_btree_new" , since = "1.66.0 " ) ]
584584 #[ must_use]
585585 pub const fn new ( ) -> BTreeMap < K , V > {
586586 BTreeMap { root : None , length : 0 , alloc : ManuallyDrop :: new ( Global ) , _marker : PhantomData }
@@ -711,7 +711,7 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
711711 /// map.insert(2, "a");
712712 /// assert_eq!(map.first_key_value(), Some((&1, &"b")));
713713 /// ```
714- #[ stable( feature = "map_first_last" , since = "CURRENT_RUSTC_VERSION " ) ]
714+ #[ stable( feature = "map_first_last" , since = "1.66.0 " ) ]
715715 pub fn first_key_value ( & self ) -> Option < ( & K , & V ) >
716716 where
717717 K : Ord ,
@@ -739,7 +739,7 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
739739 /// assert_eq!(*map.get(&1).unwrap(), "first");
740740 /// assert_eq!(*map.get(&2).unwrap(), "b");
741741 /// ```
742- #[ stable( feature = "map_first_last" , since = "CURRENT_RUSTC_VERSION " ) ]
742+ #[ stable( feature = "map_first_last" , since = "1.66.0 " ) ]
743743 pub fn first_entry ( & mut self ) -> Option < OccupiedEntry < ' _ , K , V , A > >
744744 where
745745 K : Ord ,
@@ -773,7 +773,7 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
773773 /// }
774774 /// assert!(map.is_empty());
775775 /// ```
776- #[ stable( feature = "map_first_last" , since = "CURRENT_RUSTC_VERSION " ) ]
776+ #[ stable( feature = "map_first_last" , since = "1.66.0 " ) ]
777777 pub fn pop_first ( & mut self ) -> Option < ( K , V ) >
778778 where
779779 K : Ord ,
@@ -796,7 +796,7 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
796796 /// map.insert(2, "a");
797797 /// assert_eq!(map.last_key_value(), Some((&2, &"a")));
798798 /// ```
799- #[ stable( feature = "map_first_last" , since = "CURRENT_RUSTC_VERSION " ) ]
799+ #[ stable( feature = "map_first_last" , since = "1.66.0 " ) ]
800800 pub fn last_key_value ( & self ) -> Option < ( & K , & V ) >
801801 where
802802 K : Ord ,
@@ -824,7 +824,7 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
824824 /// assert_eq!(*map.get(&1).unwrap(), "a");
825825 /// assert_eq!(*map.get(&2).unwrap(), "last");
826826 /// ```
827- #[ stable( feature = "map_first_last" , since = "CURRENT_RUSTC_VERSION " ) ]
827+ #[ stable( feature = "map_first_last" , since = "1.66.0 " ) ]
828828 pub fn last_entry ( & mut self ) -> Option < OccupiedEntry < ' _ , K , V , A > >
829829 where
830830 K : Ord ,
@@ -858,7 +858,7 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
858858 /// }
859859 /// assert!(map.is_empty());
860860 /// ```
861- #[ stable( feature = "map_first_last" , since = "CURRENT_RUSTC_VERSION " ) ]
861+ #[ stable( feature = "map_first_last" , since = "1.66.0 " ) ]
862862 pub fn pop_last ( & mut self ) -> Option < ( K , V ) >
863863 where
864864 K : Ord ,
0 commit comments