@@ -1419,7 +1419,6 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
14191419 /// # Examples
14201420 ///
14211421 /// ```
1422- /// #![feature(btree_extract_if)]
14231422 /// use std::collections::BTreeMap;
14241423 ///
14251424 /// // Splitting a map into even and odd keys, reusing the original map:
@@ -1436,7 +1435,7 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
14361435 /// assert_eq!(low.keys().copied().collect::<Vec<_>>(), [0, 1, 2, 3]);
14371436 /// assert_eq!(high.keys().copied().collect::<Vec<_>>(), [4, 5, 6, 7]);
14381437 /// ```
1439- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
1438+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
14401439 pub fn extract_if < F , R > ( & mut self , range : R , pred : F ) -> ExtractIf < ' _ , K , V , R , F , A >
14411440 where
14421441 K : Ord ,
@@ -1923,7 +1922,7 @@ impl<K, V> Default for Values<'_, K, V> {
19231922}
19241923
19251924/// An iterator produced by calling `extract_if` on BTreeMap.
1926- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
1925+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
19271926#[ must_use = "iterators are lazy and do nothing unless consumed" ]
19281927pub struct ExtractIf <
19291928 ' a ,
@@ -1956,7 +1955,7 @@ pub(super) struct ExtractIfInner<'a, K, V, R> {
19561955 range : R ,
19571956}
19581957
1959- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
1958+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
19601959impl < K , V , R , F , A > fmt:: Debug for ExtractIf < ' _ , K , V , R , F , A >
19611960where
19621961 K : fmt:: Debug ,
@@ -1968,7 +1967,7 @@ where
19681967 }
19691968}
19701969
1971- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
1970+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
19721971impl < K , V , R , F , A : Allocator + Clone > Iterator for ExtractIf < ' _ , K , V , R , F , A >
19731972where
19741973 K : PartialOrd ,
@@ -2042,7 +2041,7 @@ impl<'a, K, V, R> ExtractIfInner<'a, K, V, R> {
20422041 }
20432042}
20442043
2045- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
2044+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
20462045impl < K , V , R , F > FusedIterator for ExtractIf < ' _ , K , V , R , F >
20472046where
20482047 K : PartialOrd ,
0 commit comments