Skip to content

Commit 0fdca13

Browse files
committed
Remove a lingering mention of Empty
Thanks @liigo
1 parent 67cc2cb commit 0fdca13

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

text/1192-inclusive-ranges.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ Writing `a...b` in an expression desugars to
4141
expression desugars to `std::ops::RangeToInclusive { end: b }`.
4242

4343
`RangeInclusive` implements the standard traits (`Clone`, `Debug`
44-
etc.), and implements `Iterator`. The `Empty` variant is to allow the
45-
`Iterator` implementation to work without hacks (see Alternatives).
44+
etc.), and implements `Iterator`.
4645

4746
The use of `...` in a pattern remains as testing for inclusion
4847
within that range, *not* a struct match.

0 commit comments

Comments
 (0)