We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c29398 commit 586e630Copy full SHA for 586e630
src/comments.md
@@ -1,5 +1,24 @@
1
# Comments
2
3
+> **<sup>Lexer</sup>**
4
+> LINE_COMMENT :
5
+> `//` ~[\n\r]*
6
+>
7
+> BLOCK_COMMENT :
8
+> `/*` (BLOCK_COMMENT | .)* `*/`
9
10
+> OUTER_DOC_LINE_COMMENT :
11
+> `//!` ~[\n\r]*
12
13
+> OUTER_DOC_BLOCK_COMMENT :
14
+> `/*!` (OUTER_DOC_BLOCK_COMMENT | .)* `*/`
15
16
+> INNER_DOC_LINE_COMMENT :
17
+> `///` ~[\n\r]*
18
19
+> INNER_DOC_BLOCK_COMMENT :
20
+> `/**` (INNER_DOC_BLOCK_COMMENT | .)* `*/`
21
+
22
Comments in Rust code follow the general C++ style of line (`//`) and
23
block (`/* ... */`) comment forms. Nested block comments are supported.
24
0 commit comments