flip comma

This commit is contained in:
Aleksey Kladov 2018-08-12 18:50:16 +03:00
parent 56aa6e20e0
commit 66be735aa9
12 changed files with 273 additions and 57 deletions

View file

@ -17,7 +17,7 @@ pub(crate) struct SyntaxInfo {
}
impl SyntaxKind {
pub(crate) fn is_trivia(self) -> bool {
pub fn is_trivia(self) -> bool {
match self {
WHITESPACE | COMMENT | DOC_COMMENT => true,
_ => false,