We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Empty
1 parent 67cc2cb commit 0fdca13Copy full SHA for 0fdca13
text/1192-inclusive-ranges.md
@@ -41,8 +41,7 @@ Writing `a...b` in an expression desugars to
41
expression desugars to `std::ops::RangeToInclusive { end: b }`.
42
43
`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).
+etc.), and implements `Iterator`.
46
47
The use of `...` in a pattern remains as testing for inclusion
48
within that range, *not* a struct match.
0 commit comments