minor
This commit is contained in:
parent
904a832b7c
commit
643d235035
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user