about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-11-16 20:32:12 +0000
committerbors <bors@rust-lang.org>2014-11-16 20:32:12 +0000
commit245c7fbef5eda6f4f70c18f9aedbd62a6810dee8 (patch)
tree4ba54cc77291d9b4f09e6a7cfeb148dc3b78c5e9
parentaad75471fd327c0138f80aba46c650a7f9839d17 (diff)
parenta8933973f9d33bbeef8c9c0be4a693a2f65cb97b (diff)
downloadrust-245c7fbef5eda6f4f70c18f9aedbd62a6810dee8.tar.gz
rust-245c7fbef5eda6f4f70c18f9aedbd62a6810dee8.zip
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.
-rw-r--r--src/doc/reference.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index 4e21c76e5a6..28cb2de2923 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -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 * ;
 ```