1
Fork 0

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:
bors 2014-11-16 20:32:12 +00:00
commit 245c7fbef5

View file

@ -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 * ;
```