mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-30 11:37:31 +00:00
minor: New clippy lints
This commit is contained in:
parent
6725e046df
commit
4b6007115a
92 changed files with 180 additions and 201 deletions
|
|
@ -24,7 +24,7 @@ impl SyntaxEditor {
|
|||
if last_param
|
||||
.syntax()
|
||||
.next_sibling_or_token()
|
||||
.map_or(false, |it| it.kind() == SyntaxKind::COMMA)
|
||||
.is_some_and(|it| it.kind() == SyntaxKind::COMMA)
|
||||
{
|
||||
self.insert(
|
||||
Position::after(last_param.syntax()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue