File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
branches/auto/src/doc/trpl Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
10
10
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
11
11
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
12
12
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13
- refs/heads/auto: 4425422bddaf0030b618d23e8e6526f842bb824a
13
+ refs/heads/auto: bef936111dd3c65b668d85f8201586e73b325bfa
14
14
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
15
15
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
16
16
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ As we've said before, an iterator is something that we can call the
213
213
` .next() ` method on repeatedly, and it gives us a sequence of things.
214
214
Because you need to call the method, this means that iterators
215
215
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
217
217
creating a value that merely represents the sequence:
218
218
219
219
``` rust
@@ -259,7 +259,7 @@ a new iterator. The simplest one is called `map`:
259
259
260
260
` map ` is called upon another iterator, and produces a new iterator where each
261
261
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
263
263
compile the example, you'll get a warning:
264
264
265
265
``` text
You can’t perform that action at this time.
0 commit comments