about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorsteveklabnik <steve@steveklabnik.com>2017-09-25 11:41:39 -0400
committersteveklabnik <steve@steveklabnik.com>2017-09-25 11:41:39 -0400
commit3db0094359095aaf2ef3769b9fe2e3b3ff65cf98 (patch)
tree0aebea42e8874a2be35a0138097e5f84b98e12fb /src/libcore
parentdcb4378e18571fa01e20ef63820d960f1c2cc865 (diff)
downloadrust-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.rs2
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.