Clippy Fix

This commit is contained in:
Wyatt Herkamp 2024-03-09 14:12:27 -05:00
parent 79f2651262
commit 948a2dee09

View File

@ -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) {