@@ -726,7 +726,7 @@ pub trait Itertools : Iterator {
726
726
/// let it = (0..8).step(3);
727
727
/// itertools::assert_equal(it, vec![0, 3, 6]);
728
728
/// ```
729
- #[ deprecated( note="Use std .step_by() instead" , since="0.8" ) ]
729
+ #[ deprecated( note="Use std .step_by() instead" , since="0.8.0 " ) ]
730
730
#[ allow( deprecated) ]
731
731
fn step ( self , n : usize ) -> Step < Self >
732
732
where Self : Sized
@@ -749,7 +749,7 @@ pub trait Itertools : Iterator {
749
749
}
750
750
751
751
/// See [`.map_ok()`](#method.map_ok).
752
- #[ deprecated( note="Use .map_ok() instead" , since="0.10" ) ]
752
+ #[ deprecated( note="Use .map_ok() instead" , since="0.10.0 " ) ]
753
753
fn map_results < F , T , U , E > ( self , f : F ) -> MapOk < Self , F >
754
754
where Self : Iterator < Item = Result < T , E > > + Sized ,
755
755
F : FnMut ( T ) -> U ,
@@ -1653,7 +1653,7 @@ pub trait Itertools : Iterator {
1653
1653
///
1654
1654
/// itertools::assert_equal(rx.iter(), vec![1, 3, 5, 7, 9]);
1655
1655
/// ```
1656
- #[ deprecated( note="Use .for_each() instead" , since="0.8" ) ]
1656
+ #[ deprecated( note="Use .for_each() instead" , since="0.8.0 " ) ]
1657
1657
fn foreach < F > ( self , f : F )
1658
1658
where F : FnMut ( Self :: Item ) ,
1659
1659
Self : Sized ,
@@ -1841,7 +1841,7 @@ pub trait Itertools : Iterator {
1841
1841
}
1842
1842
1843
1843
/// See [`.fold_ok()`](#method.fold_ok).
1844
- #[ deprecated( note="Use .fold_ok() instead" , since="0.10" ) ]
1844
+ #[ deprecated( note="Use .fold_ok() instead" , since="0.10.0 " ) ]
1845
1845
fn fold_results < A , E , B , F > ( & mut self , start : B , f : F ) -> Result < B , E >
1846
1846
where Self : Iterator < Item = Result < A , E > > ,
1847
1847
F : FnMut ( B , A ) -> B
@@ -2101,7 +2101,7 @@ pub trait Itertools : Iterator {
2101
2101
/// The big difference between the computations of `result2` and `result3` is that while
2102
2102
/// `fold()` called the provided closure for every item of the callee iterator,
2103
2103
/// `fold_while()` actually stopped iterating as soon as it encountered `Fold::Done(_)`.
2104
- #[ deprecated( note="Use .try_fold() instead" , since="0.8" ) ]
2104
+ #[ deprecated( note="Use .try_fold() instead" , since="0.8.0 " ) ]
2105
2105
fn fold_while < B , F > ( & mut self , init : B , mut f : F ) -> FoldWhile < B >
2106
2106
where Self : Sized ,
2107
2107
F : FnMut ( B , Self :: Item ) -> FoldWhile < B >
0 commit comments