aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/syntax_kinds
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/syntax_kinds')
-rw-r--r--crates/ra_syntax/src/syntax_kinds/generated.rs2
-rw-r--r--crates/ra_syntax/src/syntax_kinds/mod.rs2
2 files changed, 1 insertions, 3 deletions
diff --git a/crates/ra_syntax/src/syntax_kinds/generated.rs b/crates/ra_syntax/src/syntax_kinds/generated.rs
index 58e2e9e9c..6568f1a37 100644
--- a/crates/ra_syntax/src/syntax_kinds/generated.rs
+++ b/crates/ra_syntax/src/syntax_kinds/generated.rs
@@ -116,7 +116,6 @@ pub enum SyntaxKind {
116 BYTE_STRING, 116 BYTE_STRING,
117 RAW_BYTE_STRING, 117 RAW_BYTE_STRING,
118 COMMENT, 118 COMMENT,
119 DOC_COMMENT,
120 SHEBANG, 119 SHEBANG,
121 ROOT, 120 ROOT,
122 STRUCT_DEF, 121 STRUCT_DEF,
@@ -378,7 +377,6 @@ impl SyntaxKind {
378 BYTE_STRING => &SyntaxInfo { name: "BYTE_STRING" }, 377 BYTE_STRING => &SyntaxInfo { name: "BYTE_STRING" },
379 RAW_BYTE_STRING => &SyntaxInfo { name: "RAW_BYTE_STRING" }, 378 RAW_BYTE_STRING => &SyntaxInfo { name: "RAW_BYTE_STRING" },
380 COMMENT => &SyntaxInfo { name: "COMMENT" }, 379 COMMENT => &SyntaxInfo { name: "COMMENT" },
381 DOC_COMMENT => &SyntaxInfo { name: "DOC_COMMENT" },
382 SHEBANG => &SyntaxInfo { name: "SHEBANG" }, 380 SHEBANG => &SyntaxInfo { name: "SHEBANG" },
383 ROOT => &SyntaxInfo { name: "ROOT" }, 381 ROOT => &SyntaxInfo { name: "ROOT" },
384 STRUCT_DEF => &SyntaxInfo { name: "STRUCT_DEF" }, 382 STRUCT_DEF => &SyntaxInfo { name: "STRUCT_DEF" },
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 {
19impl SyntaxKind { 19impl 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 }