diff options
Diffstat (limited to 'crates/ra_syntax/src/syntax_kinds/mod.rs')
-rw-r--r-- | crates/ra_syntax/src/syntax_kinds/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/syntax_kinds/mod.rs b/crates/ra_syntax/src/syntax_kinds/mod.rs index 0fcd07cbf..d53886676 100644 --- a/crates/ra_syntax/src/syntax_kinds/mod.rs +++ b/crates/ra_syntax/src/syntax_kinds/mod.rs | |||
@@ -19,7 +19,7 @@ pub(crate) struct SyntaxInfo { | |||
19 | impl SyntaxKind { | 19 | impl SyntaxKind { |
20 | pub fn is_trivia(self) -> bool { | 20 | pub fn is_trivia(self) -> bool { |
21 | match self { | 21 | match self { |
22 | WHITESPACE | COMMENT | DOC_COMMENT => true, | 22 | WHITESPACE | COMMENT => true, |
23 | _ => false, | 23 | _ => false, |
24 | } | 24 | } |
25 | } | 25 | } |