Skip to content

Commit

Permalink
Merge pull request #1540 from durka/patch-4
Browse files Browse the repository at this point in the history
finish updating RFC 1192 WRT single-ended ranges
  • Loading branch information
aturon committed Mar 14, 2016
2 parents 80152a3 + f1985d2 commit 5cc2a1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions text/1192-inclusive-ranges.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 5cc2a1a

Please sign in to comment.