File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -157,13 +157,13 @@ Some productions are defined by exclusion of particular Unicode characters:
157
157
~~~~~~~~ {.ebnf .gram}
158
158
comment : block_comment | line_comment ;
159
159
block_comment : "/*" block_comment_body * "*/" ;
160
- block_comment_body : block_comment | non_star * | '*' non_slash ;
160
+ block_comment_body : non_star * | '*' non_slash ;
161
161
line_comment : "//" non_eol * ;
162
162
~~~~~~~~
163
163
164
- Comments in Rust code follow the general C++ style of line and block-comment
165
- forms, with proper nesting of block-comment delimiters. Comments are
166
- interpreted as a form of whitespace.
164
+ Comments in Rust code follow the general C++ style of line and block-comment forms,
165
+ with no nesting of block-comment delimiters.
166
+ Comments are interpreted as a form of whitespace.
167
167
168
168
## Whitespace
169
169
You can’t perform that action at this time.
0 commit comments