diff options
| author | steveklabnik <steve@steveklabnik.com> | 2017-09-25 11:41:39 -0400 |
|---|---|---|
| committer | steveklabnik <steve@steveklabnik.com> | 2017-09-25 11:41:39 -0400 |
| commit | 3db0094359095aaf2ef3769b9fe2e3b3ff65cf98 (patch) | |
| tree | 0aebea42e8874a2be35a0138097e5f84b98e12fb /src/libcore | |
| parent | dcb4378e18571fa01e20ef63820d960f1c2cc865 (diff) | |
| download | rust-3db0094359095aaf2ef3769b9fe2e3b3ff65cf98.tar.gz rust-3db0094359095aaf2ef3769b9fe2e3b3ff65cf98.zip | |
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.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/iter/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter/mod.rs b/src/libcore/iter/mod.rs index 7907f2fd661..14b87f42f6a 100644 --- a/src/libcore/iter/mod.rs +++ b/src/libcore/iter/mod.rs @@ -546,7 +546,7 @@ impl<I> Iterator for Cycle<I> where I: Clone + Iterator { #[unstable(feature = "fused", issue = "35602")] impl<I> FusedIterator for Cycle<I> where I: Clone + Iterator {} -/// An adapter for stepping iterators by a custom amount. +/// An iterator for stepping iterators by a custom amount. /// /// This `struct` is created by the [`step_by`] method on [`Iterator`]. See /// its documentation for more. |
