mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
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