]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #14800 : reem/rust/patch-1, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 12 Jun 2014 10:47:03 +0000 (10:47 +0000)
committerbors <bors@rust-lang.org>
Thu, 12 Jun 2014 10:47:03 +0000 (10:47 +0000)
According to #14767 and the grammar right above this documentation, nested comments are supported.

src/doc/rust.md

index 35d356bb1b56cd8e4935a627d0a20b1f1134b072..8f47e81ba5c8ecbf747eddba4dcf8988606feee9 100644 (file)
@@ -160,8 +160,8 @@ block_comment_body : [block_comment | character] * ;
 line_comment : "//" non_eol * ;
 ~~~~
 
-Comments in Rust code follow the general C++ style of line and block-comment forms,
-with no nesting of block-comment delimiters.
+Comments in Rust code follow the general C++ style of line and block-comment forms
+Nested block comments are supported.
 
 Line comments beginning with exactly _three_ slashes (`///`), and block
 comments beginning with exactly one repeated asterisk in the block-open