@@ -1446,7 +1446,6 @@ pub trait Iterator {
14461446 /// Basic usage:
14471447 ///
14481448 /// ```
1449- /// #![feature(iterator_try_fold)]
14501449 /// let a = [1, 2, 3];
14511450 ///
14521451 /// // the checked sum of all of the elements of the array
@@ -1458,7 +1457,6 @@ pub trait Iterator {
14581457 /// Short-circuiting:
14591458 ///
14601459 /// ```
1461- /// #![feature(iterator_try_fold)]
14621460 /// let a = [10, 20, 30, 100, 40, 50];
14631461 /// let mut it = a.iter();
14641462 ///
@@ -1472,7 +1470,7 @@ pub trait Iterator {
14721470 /// assert_eq!(it.next(), Some(&40));
14731471 /// ```
14741472 #[ inline]
1475- #[ unstable ( feature = "iterator_try_fold" , issue = "45594 " ) ]
1473+ #[ stable ( feature = "iterator_try_fold" , since = "1.27.0 " ) ]
14761474 fn try_fold < B , F , R > ( & mut self , init : B , mut f : F ) -> R where
14771475 Self : Sized , F : FnMut ( B , Self :: Item ) -> R , R : Try < Ok =B >
14781476 {
@@ -1495,7 +1493,6 @@ pub trait Iterator {
14951493 /// # Examples
14961494 ///
14971495 /// ```
1498- /// #![feature(iterator_try_fold)]
14991496 /// use std::fs::rename;
15001497 /// use std::io::{stdout, Write};
15011498 /// use std::path::Path;
@@ -1512,7 +1509,7 @@ pub trait Iterator {
15121509 /// assert_eq!(it.next(), Some("stale_bread.json"));
15131510 /// ```
15141511 #[ inline]
1515- #[ unstable ( feature = "iterator_try_fold" , issue = "45594 " ) ]
1512+ #[ stable ( feature = "iterator_try_fold" , since = "1.27.0 " ) ]
15161513 fn try_for_each < F , R > ( & mut self , mut f : F ) -> R where
15171514 Self : Sized , F : FnMut ( Self :: Item ) -> R , R : Try < Ok =( ) >
15181515 {
0 commit comments