Skip to content
New issue

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

[Appendix B] Update inclusive range syntax #1245

Closed
wants to merge 1 commit into from
Closed

[Appendix B] Update inclusive range syntax #1245

wants to merge 1 commit into from

Conversation

Badel2
Copy link

@Badel2 Badel2 commented Mar 24, 2018

Right now ... in expressions is not accepted, it was replaced by ..= and will soon be stabilized: rust-lang/rust#28237

Also, added mention of expr[a..=b] indexing syntax.

Right now `...` in expressions is not accepted, it was replaced by `..=` and will soon be stabilized: rust-lang/rust#28237

Also, added mention of `expr[a..=b]` indexing syntax.
@carols10cents
Copy link
Member

carols10cents commented Mar 24, 2018

Thanks for this! Unfortunately, I'm not going to merge this because for the second edition, we're standardizing on Rust 1.21.0. HOWEVER, you have pointed out that this appendix does include ... in expressions, which was unstable in 1.21.0, so I'm going to fix that for print.

As far as documenting the inclusive range syntax, we do have it in the online-only newest features appendix for the second edition, and I'm going to tag this PR for possible inclusion once the next edition is set up.

Thanks!

@carols10cents carols10cents added this to the appendix milestone Mar 24, 2018
@Badel2 Badel2 deleted the patch-1 branch March 25, 2018 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants