@@ -1151,7 +1151,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
1151
1151
/// assert_eq!(evens.into_iter().collect::<Vec<_>>(), vec![2, 4, 6, 8, 14]);
1152
1152
/// assert_eq!(odds.into_iter().collect::<Vec<_>>(), vec![1, 3, 5, 9, 11, 13, 15]);
1153
1153
/// ```
1154
- #[ stable( feature = "extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
1154
+ #[ stable( feature = "extract_if" , since = "1.87.0 " ) ]
1155
1155
pub fn extract_if < F > ( & mut self , filter : F ) -> ExtractIf < ' _ , T , F , A >
1156
1156
where
1157
1157
F : FnMut ( & mut T ) -> bool ,
@@ -1931,7 +1931,7 @@ impl<'a, T, A: Allocator> CursorMut<'a, T, A> {
1931
1931
}
1932
1932
1933
1933
/// An iterator produced by calling `extract_if` on LinkedList.
1934
- #[ stable( feature = "extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
1934
+ #[ stable( feature = "extract_if" , since = "1.87.0 " ) ]
1935
1935
#[ must_use = "iterators are lazy and do nothing unless consumed" ]
1936
1936
pub struct ExtractIf <
1937
1937
' a ,
@@ -1946,7 +1946,7 @@ pub struct ExtractIf<
1946
1946
old_len : usize ,
1947
1947
}
1948
1948
1949
- #[ stable( feature = "extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
1949
+ #[ stable( feature = "extract_if" , since = "1.87.0 " ) ]
1950
1950
impl < T , F , A : Allocator > Iterator for ExtractIf < ' _ , T , F , A >
1951
1951
where
1952
1952
F : FnMut ( & mut T ) -> bool ,
@@ -1975,7 +1975,7 @@ where
1975
1975
}
1976
1976
}
1977
1977
1978
- #[ stable( feature = "extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
1978
+ #[ stable( feature = "extract_if" , since = "1.87.0 " ) ]
1979
1979
impl < T : fmt:: Debug , F > fmt:: Debug for ExtractIf < ' _ , T , F > {
1980
1980
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
1981
1981
f. debug_tuple ( "ExtractIf" ) . field ( & self . list ) . finish ( )
0 commit comments