about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-10-27 09:07:25 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-10-27 15:12:29 -0700
commit0c736c7b1d764edb80fb2114018398b8f44e8815 (patch)
treee56818da069a531cac6122c0593853d557c962b5
parentee32c04d60dff4289a0066bb485ecf58b6eb9187 (diff)
parent122199909d608193983fdd3751f947d7a13e8516 (diff)
downloadrust-0c736c7b1d764edb80fb2114018398b8f44e8815.tar.gz
rust-0c736c7b1d764edb80fb2114018398b8f44e8815.zip
rollup merge of #18309 : cakebaker/fix_off_by_one
-rw-r--r--src/doc/guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md
index 34d324dc2cb..a13feda44af 100644
--- a/src/doc/guide.md
+++ b/src/doc/guide.md
@@ -4508,7 +4508,7 @@ range(1i, 100i).map(|x| x + 1i);
 
 `map` is called upon another iterator, and produces a new iterator where each
 element reference has the closure it's been given as an argument called on it.
-So this would give us the numbers from `2-101`. Well, almost! If you
+So this would give us the numbers from `2-100`. Well, almost! If you
 compile the example, you'll get a warning:
 
 ```{notrust,ignore}