aboutsummaryrefslogtreecommitdiff
path: root/src/syntax_kinds
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax_kinds')
-rw-r--r--src/syntax_kinds/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/syntax_kinds/mod.rs b/src/syntax_kinds/mod.rs
index a8e9bfe29..4c21c02ae 100644
--- a/src/syntax_kinds/mod.rs
+++ b/src/syntax_kinds/mod.rs
@@ -1,7 +1,7 @@
1mod generated; 1mod generated;
2 2
3use std::fmt; 3use std::fmt;
4use ::{SyntaxKind::*}; 4use SyntaxKind::*;
5 5
6pub use self::generated::SyntaxKind; 6pub use self::generated::SyntaxKind;
7 7
@@ -16,7 +16,6 @@ pub(crate) struct SyntaxInfo {
16 pub name: &'static str, 16 pub name: &'static str,
17} 17}
18 18
19
20impl SyntaxKind { 19impl SyntaxKind {
21 pub(crate) fn is_trivia(self: SyntaxKind) -> bool { 20 pub(crate) fn is_trivia(self: SyntaxKind) -> bool {
22 match self { 21 match self {