We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e04070a + 49c1018 commit 8d638f4Copy full SHA for 8d638f4
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