diff options
author | Aleksey Kladov <[email protected]> | 2018-07-31 20:31:16 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-07-31 20:31:16 +0100 |
commit | 643d23503527d9fcee32dea4f974b7dd0ee26143 (patch) | |
tree | c4a2b09904b15f80becad44b723cc442b7f172d8 /src/syntax_kinds | |
parent | 904a832b7cfc58bcf91ed7a17a5a177f8d36db1c (diff) |
minor
Diffstat (limited to 'src/syntax_kinds')
-rw-r--r-- | src/syntax_kinds/mod.rs | 2 |
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 | ||
19 | impl SyntaxKind { | 19 | impl 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, |