@@ -1433,7 +1433,6 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
14331433 /// # Examples
14341434 ///
14351435 /// ```
1436- /// #![feature(btree_extract_if)]
14371436 /// use std::collections::BTreeMap;
14381437 ///
14391438 /// // Splitting a map into even and odd keys, reusing the original map:
@@ -1450,7 +1449,7 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
14501449 /// assert_eq!(low.keys().copied().collect::<Vec<_>>(), [0, 1, 2, 3]);
14511450 /// assert_eq!(high.keys().copied().collect::<Vec<_>>(), [4, 5, 6, 7]);
14521451 /// ```
1453- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
1452+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
14541453 pub fn extract_if < F , R > ( & mut self , range : R , pred : F ) -> ExtractIf < ' _ , K , V , R , F , A >
14551454 where
14561455 K : Ord ,
@@ -1937,7 +1936,7 @@ impl<K, V> Default for Values<'_, K, V> {
19371936}
19381937
19391938/// An iterator produced by calling `extract_if` on BTreeMap.
1940- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
1939+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
19411940#[ must_use = "iterators are lazy and do nothing unless consumed" ]
19421941pub struct ExtractIf <
19431942 ' a ,
@@ -1970,7 +1969,7 @@ pub(super) struct ExtractIfInner<'a, K, V, R> {
19701969 range : R ,
19711970}
19721971
1973- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
1972+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
19741973impl < K , V , R , F , A > fmt:: Debug for ExtractIf < ' _ , K , V , R , F , A >
19751974where
19761975 K : fmt:: Debug ,
@@ -1982,7 +1981,7 @@ where
19821981 }
19831982}
19841983
1985- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
1984+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
19861985impl < K , V , R , F , A : Allocator + Clone > Iterator for ExtractIf < ' _ , K , V , R , F , A >
19871986where
19881987 K : PartialOrd ,
@@ -2056,7 +2055,7 @@ impl<'a, K, V, R> ExtractIfInner<'a, K, V, R> {
20562055 }
20572056}
20582057
2059- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
2058+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
20602059impl < K , V , R , F > FusedIterator for ExtractIf < ' _ , K , V , R , F >
20612060where
20622061 K : PartialOrd ,
0 commit comments