@@ -724,8 +724,6 @@ impl<K: Ord, V> BTreeMap<K, V> {
724
724
/// Basic usage:
725
725
///
726
726
/// ```
727
- /// #![feature(btree_range, collections_bound)]
728
- ///
729
727
/// use std::collections::BTreeMap;
730
728
/// use std::collections::Bound::Included;
731
729
///
@@ -738,9 +736,7 @@ impl<K: Ord, V> BTreeMap<K, V> {
738
736
/// }
739
737
/// assert_eq!(Some((&5, &"b")), map.range(4..).next());
740
738
/// ```
741
- #[ unstable( feature = "btree_range" ,
742
- reason = "matches collection reform specification, waiting for dust to settle" ,
743
- issue = "27787" ) ]
739
+ #[ stable( feature = "btree_range" , since = "1.17.0" ) ]
744
740
pub fn range < T : ?Sized , R > ( & self , range : R ) -> Range < K , V >
745
741
where T : Ord , K : Borrow < T > , R : RangeArgument < T >
746
742
{
@@ -768,8 +764,6 @@ impl<K: Ord, V> BTreeMap<K, V> {
768
764
/// Basic usage:
769
765
///
770
766
/// ```
771
- /// #![feature(btree_range)]
772
- ///
773
767
/// use std::collections::BTreeMap;
774
768
///
775
769
/// let mut map: BTreeMap<&str, i32> = ["Alice", "Bob", "Carol", "Cheryl"].iter()
@@ -782,9 +776,7 @@ impl<K: Ord, V> BTreeMap<K, V> {
782
776
/// println!("{} => {}", name, balance);
783
777
/// }
784
778
/// ```
785
- #[ unstable( feature = "btree_range" ,
786
- reason = "matches collection reform specification, waiting for dust to settle" ,
787
- issue = "27787" ) ]
779
+ #[ stable( feature = "btree_range" , since = "1.17.0" ) ]
788
780
pub fn range_mut < T : ?Sized , R > ( & mut self , range : R ) -> RangeMut < K , V >
789
781
where T : Ord , K : Borrow < T > , R : RangeArgument < T >
790
782
{
0 commit comments