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

Manual still says nested block comments are illegal #14767

Closed
huonw opened this issue Jun 9, 2014 · 0 comments
Closed

Manual still says nested block comments are illegal #14767

huonw opened this issue Jun 9, 2014 · 0 comments
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@huonw
Copy link
Member

huonw commented Jun 9, 2014

http://doc.rust-lang.org/master/rust.html#comments

Comments in Rust code follow the general C++ style of line and block-comment forms, with no nesting of block-comment delimiters.

This is no longer true. (The grammar in that section was updated for nesting, but the text was apparently missed.)

bors added a commit that referenced this issue Jun 12, 2014
According to #14767 and the grammar right above this documentation, nested comments are supported.
@bors bors closed this as completed in e5ebdb4 Jun 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

1 participant