@@ -1140,7 +1140,6 @@ impl<T, A: Allocator> LinkedList<T, A> {
11401140 /// Splitting a list into evens and odds, reusing the original list:
11411141 ///
11421142 /// ```
1143- /// #![feature(extract_if)]
11441143 /// use std::collections::LinkedList;
11451144 ///
11461145 /// let mut numbers: LinkedList<u32> = LinkedList::new();
@@ -1152,7 +1151,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
11521151 /// assert_eq!(evens.into_iter().collect::<Vec<_>>(), vec![2, 4, 6, 8, 14]);
11531152 /// assert_eq!(odds.into_iter().collect::<Vec<_>>(), vec![1, 3, 5, 9, 11, 13, 15]);
11541153 /// ```
1155- #[ unstable ( feature = "extract_if" , reason = "recently added" , issue = "43244 ") ]
1154+ #[ stable ( feature = "extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
11561155 pub fn extract_if < F > ( & mut self , filter : F ) -> ExtractIf < ' _ , T , F , A >
11571156 where
11581157 F : FnMut ( & mut T ) -> bool ,
@@ -1932,7 +1931,7 @@ impl<'a, T, A: Allocator> CursorMut<'a, T, A> {
19321931}
19331932
19341933/// An iterator produced by calling `extract_if` on LinkedList.
1935- #[ unstable ( feature = "extract_if" , reason = "recently added" , issue = "43244 ") ]
1934+ #[ stable ( feature = "extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
19361935#[ must_use = "iterators are lazy and do nothing unless consumed" ]
19371936pub struct ExtractIf <
19381937 ' a ,
@@ -1947,7 +1946,7 @@ pub struct ExtractIf<
19471946 old_len : usize ,
19481947}
19491948
1950- #[ unstable ( feature = "extract_if" , reason = "recently added" , issue = "43244 ") ]
1949+ #[ stable ( feature = "extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
19511950impl < T , F , A : Allocator > Iterator for ExtractIf < ' _ , T , F , A >
19521951where
19531952 F : FnMut ( & mut T ) -> bool ,
@@ -1976,7 +1975,7 @@ where
19761975 }
19771976}
19781977
1979- #[ unstable ( feature = "extract_if" , reason = "recently added" , issue = "43244 ") ]
1978+ #[ stable ( feature = "extract_if" , since = "CURRENT_RUSTC_VERSION " ) ]
19801979impl < T : fmt:: Debug , F > fmt:: Debug for ExtractIf < ' _ , T , F > {
19811980 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
19821981 f. debug_tuple ( "ExtractIf" ) . field ( & self . list ) . finish ( )
0 commit comments