We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15c82e9 commit 94a8b32Copy full SHA for 94a8b32
core/src/iter/traits/iterator.rs
@@ -2143,8 +2143,6 @@ pub trait Iterator {
2143
/// Find the maximum value:
2144
///
2145
/// ```
2146
- /// #![feature(iterator_fold_self)]
2147
- ///
2148
/// fn find_max<I>(iter: I) -> Option<I::Item>
2149
/// where I: Iterator,
2150
/// I::Item: Ord,
@@ -2160,7 +2158,7 @@ pub trait Iterator {
2160
2158
/// assert_eq!(find_max(b.iter()), None);
2161
2159
2162
#[inline]
2163
- #[unstable(feature = "iterator_fold_self", issue = "68125")]
+ #[stable(feature = "iterator_fold_self", since = "1.51.0")]
2164
fn reduce<F>(mut self, f: F) -> Option<Self::Item>
2165
where
2166
Self: Sized,
0 commit comments