We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 32f7440 + 49c1018 commit f2cfc88Copy full SHA for f2cfc88
src/librustc_lexer/src/lib.rs
@@ -51,8 +51,9 @@ pub enum TokenKind {
51
// Multi-char tokens:
52
/// "// comment"
53
LineComment,
54
- /// "/* block comment */"
55
- /// Block comments can be recursive, so the sequence like "/* /* */"
+ /// `/* block comment */`
+ ///
56
+ /// Block comments can be recursive, so the sequence like `/* /* */`
57
/// will not be considered terminated and will result in a parsing error.
58
BlockComment { terminated: bool },
59
/// Any whitespace characters sequence.
0 commit comments