From 643d23503527d9fcee32dea4f974b7dd0ee26143 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Jul 2018 22:31:16 +0300 Subject: minor --- src/syntax_kinds/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/syntax_kinds') 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 { } impl SyntaxKind { - pub(crate) fn is_trivia(self: SyntaxKind) -> bool { + pub(crate) fn is_trivia(self) -> bool { match self { WHITESPACE | COMMENT | DOC_COMMENT => true, _ => false, -- cgit v1.2.3