mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
Clippy Fix
This commit is contained in:
parent
79f2651262
commit
948a2dee09
1 changed files with 2 additions and 7 deletions
|
@ -675,13 +675,8 @@ impl<SpanMap, S> Converter<SpanMap, S> {
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
match token {
|
||||
syntax::NodeOrToken::Token(token) => {
|
||||
return Some(token);
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
} else if let syntax::NodeOrToken::Token(token) = token {
|
||||
return Some(token);
|
||||
}
|
||||
}
|
||||
WalkEvent::Leave(ele) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue