diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-10-27 09:07:25 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-10-27 15:12:29 -0700 |
| commit | 0c736c7b1d764edb80fb2114018398b8f44e8815 (patch) | |
| tree | e56818da069a531cac6122c0593853d557c962b5 | |
| parent | ee32c04d60dff4289a0066bb485ecf58b6eb9187 (diff) | |
| parent | 122199909d608193983fdd3751f947d7a13e8516 (diff) | |
| download | rust-0c736c7b1d764edb80fb2114018398b8f44e8815.tar.gz rust-0c736c7b1d764edb80fb2114018398b8f44e8815.zip | |
rollup merge of #18309 : cakebaker/fix_off_by_one
| -rw-r--r-- | src/doc/guide.md | 2 |
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} |
