Clippy Fix

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

View File

@ -675,13 +675,8 @@ fn next_token(&mut self) -> Option<SyntaxToken> {
}
}
}
} else {
match token {
syntax::NodeOrToken::Token(token) => {
return Some(token);
}
_ => (),
}
} else if let syntax::NodeOrToken::Token(token) = token {
return Some(token);
}
}
WalkEvent::Leave(ele) => {