Skip to content

Commit 109aba2

Browse files
committed
Inclusive ranges are not stable, don't tell people to use them
1 parent ecc3adf commit 109aba2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

first-edition/src/iterators.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ call the `.next()` method on repeatedly, and it gives us a sequence of things.
1616

1717
(By the way, a range with two dots like `0..10` is inclusive on the left (so it
1818
starts at 0) and exclusive on the right (so it ends at 9). A mathematician
19-
would write "[0, 10)". To get a range that goes all the way up to 10 you can
20-
write `0...10`.)
19+
would write "[0, 10)".
2120

2221
Like this:
2322

0 commit comments

Comments
 (0)