@@ -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 , Q > ( & mut self , range : R , pred : F ) -> ExtractIf < ' _ , K , V , R , F , A >
14411440 where
14421441 K : Borrow < Q > ,
@@ -1925,7 +1924,7 @@ impl<K, V> Default for Values<'_, K, V> {
19251924}
19261925
19271926/// An iterator produced by calling `extract_if` on BTreeMap.
1928- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
1927+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
19291928#[ must_use = "iterators are lazy and do nothing unless consumed" ]
19301929pub struct ExtractIf <
19311930 ' a ,
@@ -1958,7 +1957,7 @@ pub(super) struct ExtractIfInner<'a, K, V, R> {
19581957 range : R ,
19591958}
19601959
1961- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
1960+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
19621961impl < K , V , R , F , A > fmt:: Debug for ExtractIf < ' _ , K , V , R , F , A >
19631962where
19641963 K : fmt:: Debug ,
@@ -1970,7 +1969,7 @@ where
19701969 }
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 : Allocator + Clone > Iterator for ExtractIf < ' _ , K , V , R , F , A >
19751974where
19761975 K : PartialOrd ,
@@ -2044,7 +2043,7 @@ impl<'a, K, V, R> ExtractIfInner<'a, K, V, R> {
20442043 }
20452044}
20462045
2047- #[ unstable ( feature = "btree_extract_if" , issue = "70530 " ) ]
2046+ #[ stable ( feature = "btree_extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
20482047impl < K , V , R , F > FusedIterator for ExtractIf < ' _ , K , V , R , F >
20492048where
20502049 K : PartialOrd ,
0 commit comments