aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/syntax_kinds/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libsyntax2/src/syntax_kinds/mod.rs')
-rw-r--r--crates/libsyntax2/src/syntax_kinds/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/syntax_kinds/mod.rs b/crates/libsyntax2/src/syntax_kinds/mod.rs
index ed4fa5d4d..332cd13ac 100644
--- a/crates/libsyntax2/src/syntax_kinds/mod.rs
+++ b/crates/libsyntax2/src/syntax_kinds/mod.rs
@@ -17,7 +17,7 @@ pub(crate) struct SyntaxInfo {
17} 17}
18 18
19impl SyntaxKind { 19impl SyntaxKind {
20 pub(crate) 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 | DOC_COMMENT => true,
23 _ => false, 23 _ => false,