]> git.lizzy.rs Git - rust.git/commitdiff
Update docs to say iterator instead of range
authorMatt Brubeck <mbrubeck@limpet.net>
Wed, 7 Jun 2017 16:24:35 +0000 (09:24 -0700)
committerMatt Brubeck <mbrubeck@limpet.net>
Wed, 7 Jun 2017 16:24:35 +0000 (09:24 -0700)
src/libcore/iter/iterator.rs

index 85149a0f570788272b5658f72a614c5924843141..30d09e5453b370f7f5325fbff1b9538d8597d98d 100644 (file)
@@ -262,7 +262,7 @@ fn nth(&mut self, mut n: usize) -> Option<Self::Item> {
     /// 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