Skip to content

Commit 47eb105

Browse files
committed
---
yaml --- r: 209461 b: refs/heads/auto c: bef9361 h: refs/heads/master i: 209459: e5df036 v: v3
1 parent ad721b2 commit 47eb105

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: 4425422bddaf0030b618d23e8e6526f842bb824a
13+
refs/heads/auto: bef936111dd3c65b668d85f8201586e73b325bfa
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/doc/trpl/iterators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ As we've said before, an iterator is something that we can call the
213213
`.next()` method on repeatedly, and it gives us a sequence of things.
214214
Because you need to call the method, this means that iterators
215215
can be *lazy* and not generate all of the values upfront. This code,
216-
for example, does not actually generate the numbers `1-100`, instead
216+
for example, does not actually generate the numbers `1-99`, instead
217217
creating a value that merely represents the sequence:
218218

219219
```rust
@@ -259,7 +259,7 @@ a new iterator. The simplest one is called `map`:
259259

260260
`map` is called upon another iterator, and produces a new iterator where each
261261
element reference has the closure it's been given as an argument called on it.
262-
So this would give us the numbers from `2-101`. Well, almost! If you
262+
So this would give us the numbers from `2-100`. Well, almost! If you
263263
compile the example, you'll get a warning:
264264

265265
```text

0 commit comments

Comments
 (0)