File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed
library/core/src/iter/traits Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 1414#![ feature( const_fn_transmute) ]
1515#![ feature( const_panic) ]
1616#![ feature( crate_visibility_modifier) ]
17- #![ feature( iterator_fold_self) ]
1817#![ feature( label_break_value) ]
1918#![ feature( nll) ]
2019#![ feature( or_patterns) ]
Original file line number Diff line number Diff line change 66#![ feature( const_fn) ] // For the unsizing cast on `&[]`
77#![ feature( const_panic) ]
88#![ feature( in_band_lifetimes) ]
9- #![ feature( iterator_fold_self) ]
109#![ feature( once_cell) ]
1110#![ feature( or_patterns) ]
1211#![ recursion_limit = "256" ]
Original file line number Diff line number Diff line change @@ -2143,8 +2143,6 @@ pub trait Iterator {
21432143 /// Find the maximum value:
21442144 ///
21452145 /// ```
2146- /// #![feature(iterator_fold_self)]
2147- ///
21482146 /// fn find_max<I>(iter: I) -> Option<I::Item>
21492147 /// where I: Iterator,
21502148 /// I::Item: Ord,
@@ -2160,7 +2158,7 @@ pub trait Iterator {
21602158 /// assert_eq!(find_max(b.iter()), None);
21612159 /// ```
21622160 #[ inline]
2163- #[ unstable ( feature = "iterator_fold_self" , issue = "68125 " ) ]
2161+ #[ stable ( feature = "iterator_fold_self" , since = "1.51.0 " ) ]
21642162 fn reduce < F > ( mut self , f : F ) -> Option < Self :: Item >
21652163 where
21662164 Self : Sized ,
You can’t perform that action at this time.
0 commit comments