diff options
author | Jeremy A. Kolb <[email protected]> | 2018-10-31 21:38:18 +0000 |
---|---|---|
committer | Jeremy A. Kolb <[email protected]> | 2018-10-31 21:38:18 +0000 |
commit | 61580f3cb82821c65dc93627d9b3ec9390cce281 (patch) | |
tree | dd8bdf0f3489b972728a4023fbf6e460f1fed4dc /crates/ra_syntax/src/syntax_kinds | |
parent | 2b210d98b8807e0dfd6762a2974388fca7ee1ee9 (diff) |
Remove DOC_COMMENT
Closes #166
Diffstat (limited to 'crates/ra_syntax/src/syntax_kinds')
-rw-r--r-- | crates/ra_syntax/src/syntax_kinds/generated.rs | 2 | ||||
-rw-r--r-- | crates/ra_syntax/src/syntax_kinds/mod.rs | 2 |
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 { | |||
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 | } |