mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Fix format
This commit is contained in:
parent
384e1ced88
commit
0593da9a36
1 changed files with 2 additions and 5 deletions
|
@ -171,10 +171,7 @@ fn extend_tokens_from_range(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn skip_whitespace(
|
fn skip_whitespace(mut token: SyntaxToken, direction: Direction) -> Option<SyntaxToken> {
|
||||||
mut token: SyntaxToken,
|
|
||||||
direction: Direction,
|
|
||||||
) -> Option<SyntaxToken> {
|
|
||||||
while token.kind() == WHITESPACE {
|
while token.kind() == WHITESPACE {
|
||||||
token = match direction {
|
token = match direction {
|
||||||
Direction::Next => token.next_token()?,
|
Direction::Next => token.next_token()?,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue