This commit is contained in:
Aleksey Kladov 2018-07-31 22:31:16 +03:00
parent 904a832b7c
commit 643d235035

View File

@ -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,