aboutsummaryrefslogtreecommitdiff
path: root/src/syntax_kinds
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-07-31 20:31:16 +0100
committerAleksey Kladov <[email protected]>2018-07-31 20:31:16 +0100
commit643d23503527d9fcee32dea4f974b7dd0ee26143 (patch)
treec4a2b09904b15f80becad44b723cc442b7f172d8 /src/syntax_kinds
parent904a832b7cfc58bcf91ed7a17a5a177f8d36db1c (diff)
minor
Diffstat (limited to 'src/syntax_kinds')
-rw-r--r--src/syntax_kinds/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax_kinds/mod.rs b/src/syntax_kinds/mod.rs
index 4c21c02ae..ed4fa5d4d 100644
--- a/src/syntax_kinds/mod.rs
+++ b/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: SyntaxKind) -> bool { 20 pub(crate) 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,