Skip to content

Commit

Permalink
Guide: Fix off-by-one error
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Oct 25, 2014
1 parent 80e5fe1 commit 1221999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/guide.md
Expand Up @@ -4474,7 +4474,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}
Expand Down

0 comments on commit 1221999

Please sign in to comment.