Skip to content

Commit

Permalink
auto merge of #18995 : alfie/rust/comment-docs, r=aturon
Browse files Browse the repository at this point in the history
Start comment is a string literal while end comment is made up of two character literals. This change is to make them consistent.
  • Loading branch information
bors committed Nov 16, 2014
2 parents aad7547 + a893397 commit 245c7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/reference.md
Expand Up @@ -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 * ;
```
Expand Down

0 comments on commit 245c7fb

Please sign in to comment.