Skip to content

Commit 3db0094

Browse files
committed
Improve wording for StepBy
No other iterator makes the distinction between an iterator and an iterator adapter in its summary line, so change it to be consistent with all other adapters.
1 parent dcb4378 commit 3db0094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ impl<I> Iterator for Cycle<I> where I: Clone + Iterator {
546546
#[unstable(feature = "fused", issue = "35602")]
547547
impl<I> FusedIterator for Cycle<I> where I: Clone + Iterator {}
548548

549-
/// An adapter for stepping iterators by a custom amount.
549+
/// An iterator for stepping iterators by a custom amount.
550550
///
551551
/// This `struct` is created by the [`step_by`] method on [`Iterator`]. See
552552
/// its documentation for more.

0 commit comments

Comments
 (0)