about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2017-06-07 09:24:35 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2017-06-07 09:24:35 -0700
commitb6193f3c005e52e93b00d2d69eea96b4b91d002b (patch)
tree24dc941a23f660466b1e9087fc0ba0828fd3c3f6 /src/libcore
parenta69cc85909e085b7603471163e83ce1b692b23a0 (diff)
downloadrust-b6193f3c005e52e93b00d2d69eea96b4b91d002b.tar.gz
rust-b6193f3c005e52e93b00d2d69eea96b4b91d002b.zip
Update docs to say iterator instead of range
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/iter/iterator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter/iterator.rs b/src/libcore/iter/iterator.rs
index 85149a0f570..30d09e5453b 100644
--- a/src/libcore/iter/iterator.rs
+++ b/src/libcore/iter/iterator.rs
@@ -262,7 +262,7 @@ pub trait Iterator {
     /// Creates an iterator starting at the same point, but stepping by
     /// the given amount at each iteration.
     ///
-    /// Note that it will always return the first element of the range,
+    /// Note that it will always return the first element of the iterator,
     /// regardless of the step given.
     ///
     /// # Panics