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