Update description of iter::StepBy

This commit is contained in:
Scott McMurray 2017-05-20 18:32:43 -07:00
parent 4be488c065
commit fcb3a7109c

View File

@ -520,7 +520,7 @@ fn size_hint(&self) -> (usize, Option<usize>) {
#[unstable(feature = "fused", issue = "35602")] #[unstable(feature = "fused", issue = "35602")]
impl<I> FusedIterator for Cycle<I> where I: Clone + Iterator {} impl<I> FusedIterator for Cycle<I> where I: Clone + Iterator {}
/// An iterator that steps by n elements every iteration. /// An adapter for stepping iterators by a custom amount.
/// ///
/// This `struct` is created by the [`step_by`] method on [`Iterator`]. See /// This `struct` is created by the [`step_by`] method on [`Iterator`]. See
/// its documentation for more. /// its documentation for more.