mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
feat: auto remove unnecessary braces after remove unused imports
This commit is contained in:
parent
6557151dca
commit
bc2dee7429
2 changed files with 27 additions and 1 deletions
|
@ -414,6 +414,7 @@ impl ast::UseTree {
|
|||
u.remove_recursive();
|
||||
}
|
||||
}
|
||||
u.remove_unnecessary_braces();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue