File tree 3 files changed +1
-5
lines changed
library/core/src/iter/traits 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 14
14
#![ feature( const_fn_transmute) ]
15
15
#![ feature( const_panic) ]
16
16
#![ feature( crate_visibility_modifier) ]
17
- #![ feature( iterator_fold_self) ]
18
17
#![ feature( label_break_value) ]
19
18
#![ feature( nll) ]
20
19
#![ feature( or_patterns) ]
Original file line number Diff line number Diff line change 6
6
#![ feature( const_fn) ] // For the unsizing cast on `&[]`
7
7
#![ feature( const_panic) ]
8
8
#![ feature( in_band_lifetimes) ]
9
- #![ feature( iterator_fold_self) ]
10
9
#![ feature( once_cell) ]
11
10
#![ feature( or_patterns) ]
12
11
#![ recursion_limit = "256" ]
Original file line number Diff line number Diff line change @@ -2143,8 +2143,6 @@ pub trait Iterator {
2143
2143
/// Find the maximum value:
2144
2144
///
2145
2145
/// ```
2146
- /// #![feature(iterator_fold_self)]
2147
- ///
2148
2146
/// fn find_max<I>(iter: I) -> Option<I::Item>
2149
2147
/// where I: Iterator,
2150
2148
/// I::Item: Ord,
@@ -2160,7 +2158,7 @@ pub trait Iterator {
2160
2158
/// assert_eq!(find_max(b.iter()), None);
2161
2159
/// ```
2162
2160
#[ inline]
2163
- #[ unstable ( feature = "iterator_fold_self" , issue = "68125 " ) ]
2161
+ #[ stable ( feature = "iterator_fold_self" , since = "1.51.0 " ) ]
2164
2162
fn reduce < F > ( mut self , f : F ) -> Option < Self :: Item >
2165
2163
where
2166
2164
Self : Sized ,
You can’t perform that action at this time.
0 commit comments