auto merge of #18995 : alfie/rust/comment-docs, r=aturon
Start comment is a string literal while end comment is made up of two character literals. This change is to make them consistent.
This commit is contained in:
commit
245c7fbef5
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ Some productions are defined by exclusion of particular Unicode characters:
|
|||
|
||||
```{.ebnf .gram}
|
||||
comment : block_comment | line_comment ;
|
||||
block_comment : "/*" block_comment_body * '*' + '/' ;
|
||||
block_comment : "/*" block_comment_body * "*/" ;
|
||||
block_comment_body : [block_comment | character] * ;
|
||||
line_comment : "//" non_eol * ;
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue