We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74fb263 commit 48cb50aCopy full SHA for 48cb50a
doc/rust.md
@@ -155,8 +155,8 @@ Some productions are defined by exclusion of particular Unicode characters:
155
156
~~~~~~~~ {.ebnf .gram}
157
comment : block_comment | line_comment ;
158
-block_comment : "/*" block_comment_body * "*/" ;
159
-block_comment_body : non_star * | '*' non_slash ;
+block_comment : "/*" block_comment_body * "*" + "/" ;
+block_comment_body : non_star * | '*' + non_slash ;
160
line_comment : "//" non_eol * ;
161
~~~~~~~~
162
0 commit comments