about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2017-05-20 18:32:43 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2017-05-23 02:25:08 -0700
commitfcb3a7109c84f48c4f60504255dd3f375818fdfd (patch)
treea49042c73a6f1017513b86d55b031a1f33d1ab88 /src/libcore
parent4be488c06581448abb9ad8cfc98fa32bcf72244d (diff)
downloadrust-fcb3a7109c84f48c4f60504255dd3f375818fdfd.tar.gz
rust-fcb3a7109c84f48c4f60504255dd3f375818fdfd.zip
Update description of iter::StepBy
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 a3b755a38f3..f87bbfbd7d9 100644
--- a/src/libcore/iter/mod.rs
+++ b/src/libcore/iter/mod.rs
@@ -520,7 +520,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 iterator that steps by n elements every iteration.
+/// An adapter for stepping iterators by a custom amount.
 ///
 /// This `struct` is created by the [`step_by`] method on [`Iterator`]. See
 /// its documentation for more.