about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Glagla <martingl@gmx.de>2017-05-11 20:38:15 +0200
committerMartin Glagla <martingl@gmx.de>2017-05-11 20:38:15 +0200
commit641d05353a596311eff9442a3fc50f332baaf857 (patch)
tree7af049c5b24261a39cbde912756abc1a86642aa3
parent2cc3358e4f1c4a79685745a461a1be1ce784b88a (diff)
downloadrust-641d05353a596311eff9442a3fc50f332baaf857.tar.gz
rust-641d05353a596311eff9442a3fc50f332baaf857.zip
Fix typo in size_hint example comment
-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 b3f4d75c4da..67b97afb976 100644
--- a/src/libcore/iter/iterator.rs
+++ b/src/libcore/iter/iterator.rs
@@ -119,7 +119,7 @@ pub trait Iterator {
     /// // exactly wouldn't be possible without executing filter().
     /// assert_eq!((0, Some(10)), iter.size_hint());
     ///
-    /// // Let's add one five more numbers with chain()
+    /// // Let's add five more numbers with chain()
     /// let iter = (0..10).filter(|x| x % 2 == 0).chain(15..20);
     ///
     /// // now both bounds are increased by five