about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-09-29 17:59:00 -0600
committerGitHub <noreply@github.com>2017-09-29 17:59:00 -0600
commit3d7a390552620147b6bd716d0326bb60e795485f (patch)
tree35517a0437961d30361f6574925785205ffc543b
parent327cd0d557a475ed23caf7be4a241e9e32e43586 (diff)
parent3db0094359095aaf2ef3769b9fe2e3b3ff65cf98 (diff)
downloadrust-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.rs2
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.