mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
flip comma
This commit is contained in:
parent
56aa6e20e0
commit
66be735aa9
12 changed files with 273 additions and 57 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue