about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnatol Ulrich <45840+spookyvision@users.noreply.github.com>2021-06-09 02:51:30 +0200
committerGitHub <noreply@github.com>2021-06-09 02:51:30 +0200
commitacc65ccc780af7177d7a2c16695e12ce0d88dfc2 (patch)
treee286e0ad8988520307ae7112b8f083fdad91be79
parent39ba856151c97f085dc22c4e21579b4183ac9a28 (diff)
downloadrust-acc65ccc780af7177d7a2c16695e12ce0d88dfc2.tar.gz
rust-acc65ccc780af7177d7a2c16695e12ce0d88dfc2.zip
Update library/core/src/iter/traits/iterator.rs
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
-rw-r--r--library/core/src/iter/traits/iterator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs
index eeefaacfa4c..11dea400a46 100644
--- a/library/core/src/iter/traits/iterator.rs
+++ b/library/core/src/iter/traits/iterator.rs
@@ -138,7 +138,7 @@ pub trait Iterator {
     /// A more complex example:
     ///
     /// ```
-    /// // The even numbers from zero to nine.
+    /// // The even numbers in the range of zero to nine.
     /// let iter = (0..10).filter(|x| x % 2 == 0);
     ///
     /// // We might iterate from zero to ten times. Knowing that it's five