finish updating RFC 1192 WRT single-ended ranges

Fixes #1537
This commit is contained in:
Alex Burka 2016-03-12 00:24:22 -05:00
parent 80152a3c47
commit f1985d2d76
1 changed files with 3 additions and 2 deletions

View File

@ -79,8 +79,9 @@ winner.
[discuss]: https://internals.rust-lang.org/t/vs-for-inclusive-ranges/1539
This RFC doesn't propose non-double-ended syntax, like `a...`, `...b`
or `...` since it isn't clear that this is so useful. Maybe it is.
This RFC proposes single-ended syntax with only an end, `...b`, but not
with only a start (`a...`) or unconstrained `...`. This balance could be
reevaluated for usefulness and conflicts with other proposed syntax.
The `Empty` variant could be omitted, leaving two options: