diff options
| author | Jonathan Reem <jonathan.reem@gmail.com> | 2014-06-10 14:53:07 -0700 |
|---|---|---|
| committer | Jonathan Reem <jonathan.reem@gmail.com> | 2014-06-10 15:58:54 -0700 |
| commit | e5ebdb4c077d6d24d29edd397f8aa5acd4952e13 (patch) | |
| tree | 43f2ed000beb68f9fe3fa6df1be2fbd46a128139 /src/doc/rust.md | |
| parent | 7f777a5ba49785a74e5365e9897ddf4c02ea8519 (diff) | |
| download | rust-e5ebdb4c077d6d24d29edd397f8aa5acd4952e13.tar.gz rust-e5ebdb4c077d6d24d29edd397f8aa5acd4952e13.zip | |
Remove outdated info about nested block comments. Fixes #14767
Diffstat (limited to 'src/doc/rust.md')
| -rw-r--r-- | src/doc/rust.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rust.md b/src/doc/rust.md index 35d356bb1b5..8f47e81ba5c 100644 --- a/src/doc/rust.md +++ b/src/doc/rust.md @@ -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 |
