Skip to content

Commit

Permalink
API: Fix the mystery deprecation message for Step
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Nov 24, 2018
1 parent 602f2f6 commit d2e254f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/adaptors/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,10 @@ impl<B, F, I> Iterator for Batching<I, F>
/// then skipping forward *n-1* elements.
///
/// See [`.step()`](../trait.Itertools.html#method.step) for more information.
#[deprecated(note="Use std .step_by() instead", since="0.8")]
#[allow(deprecated)]
#[derive(Clone, Debug)]
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
#[deprecated(note="Use std .step_by() instead", since="0.8")]
pub struct Step<I> {
iter: Fuse<I>,
skip: usize,
Expand Down

0 comments on commit d2e254f

Please sign in to comment.