Clippy Fix
This commit is contained in:
parent
79f2651262
commit
948a2dee09
@ -675,14 +675,9 @@ fn next_token(&mut self) -> Option<SyntaxToken> {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
match token {
|
||||
syntax::NodeOrToken::Token(token) => {
|
||||
} else if let syntax::NodeOrToken::Token(token) = token {
|
||||
return Some(token);
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
}
|
||||
WalkEvent::Leave(ele) => {
|
||||
if let Some(mut v) = self.append.remove(&ele) {
|
||||
|
Loading…
Reference in New Issue
Block a user