@@ -1151,7 +1151,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
11511151 /// assert_eq!(evens.into_iter().collect::<Vec<_>>(), vec![2, 4, 6, 8, 14]);
11521152 /// assert_eq!(odds.into_iter().collect::<Vec<_>>(), vec![1, 3, 5, 9, 11, 13, 15]);
11531153 /// ```
1154- #[ stable( feature = "extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
1154+ #[ stable( feature = "extract_if" , since = "1.87.0 " ) ]
11551155 pub fn extract_if < F > ( & mut self , filter : F ) -> ExtractIf < ' _ , T , F , A >
11561156 where
11571157 F : FnMut ( & mut T ) -> bool ,
@@ -1931,7 +1931,7 @@ impl<'a, T, A: Allocator> CursorMut<'a, T, A> {
19311931}
19321932
19331933/// 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 " ) ]
19351935#[ must_use = "iterators are lazy and do nothing unless consumed" ]
19361936pub struct ExtractIf <
19371937 ' a ,
@@ -1946,7 +1946,7 @@ pub struct ExtractIf<
19461946 old_len : usize ,
19471947}
19481948
1949- #[ stable( feature = "extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
1949+ #[ stable( feature = "extract_if" , since = "1.87.0 " ) ]
19501950impl < T , F , A : Allocator > Iterator for ExtractIf < ' _ , T , F , A >
19511951where
19521952 F : FnMut ( & mut T ) -> bool ,
@@ -1975,7 +1975,7 @@ where
19751975 }
19761976}
19771977
1978- #[ stable( feature = "extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
1978+ #[ stable( feature = "extract_if" , since = "1.87.0 " ) ]
19791979impl < T : fmt:: Debug , F > fmt:: Debug for ExtractIf < ' _ , T , F > {
19801980 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
19811981 f. debug_tuple ( "ExtractIf" ) . field ( & self . list ) . finish ( )
0 commit comments