diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-09-29 17:59:00 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-29 17:59:00 -0600 |
| commit | 3d7a390552620147b6bd716d0326bb60e795485f (patch) | |
| tree | 35517a0437961d30361f6574925785205ffc543b | |
| parent | 327cd0d557a475ed23caf7be4a241e9e32e43586 (diff) | |
| parent | 3db0094359095aaf2ef3769b9fe2e3b3ff65cf98 (diff) | |
| download | rust-3d7a390552620147b6bd716d0326bb60e795485f.tar.gz rust-3d7a390552620147b6bd716d0326bb60e795485f.zip | |
Rollup merge of #44840 - steveklabnik:fix-wording, r=BurntSushi
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.
| -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 ed39324d488..8d2521b053e 100644 --- a/src/libcore/iter/mod.rs +++ b/src/libcore/iter/mod.rs @@ -558,7 +558,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. |
