Skip to content

Commit e5ebdb4

Browse files
committed
Remove outdated info about nested block comments. Fixes #14767
1 parent 7f777a5 commit e5ebdb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/rust.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ block_comment_body : [block_comment | character] * ;
160160
line_comment : "//" non_eol * ;
161161
~~~~
162162

163-
Comments in Rust code follow the general C++ style of line and block-comment forms,
164-
with no nesting of block-comment delimiters.
163+
Comments in Rust code follow the general C++ style of line and block-comment forms.
164+
Nested block comments are supported.
165165

166166
Line comments beginning with exactly _three_ slashes (`///`), and block
167167
comments beginning with exactly one repeated asterisk in the block-open

0 commit comments

Comments
 (0)