We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The "Detailed design" section mentions
Writing ...b in an expression desugars to std::ops::RangeToInclusive { end: b }.
However, the "Alternatives" sections states
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.
From what I have gathered, the specified design has been implemented.
The text was updated successfully, but these errors were encountered:
Hmm, you're right. I did implement a...b and ...b. My understanding is a... is reserved for possible variadic generic syntax In The Future.
a...b
...b
a...
There was discussion in the RFC about ...b, and the text was updated but some parts missed as you noticed.
cc @aturon
Sorry, something went wrong.
finish updating RFC 1192 WRT single-ended ranges
1821fde
Fixes rust-lang#1537
f1985d2
No branches or pull requests
The "Detailed design" section mentions
However, the "Alternatives" sections states
From what I have gathered, the specified design has been implemented.
The text was updated successfully, but these errors were encountered: