mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-11 20:58:54 +00:00
fix: add missing semicolon in remove method call
Signed-off-by: Tarek <tareknaser360@gmail.com>
This commit is contained in:
parent
59cfb84379
commit
52dd11ee03
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ impl ast::UseTree {
|
|||
|
||||
if let Some(u) = parent.clone().and_then(ast::Use::cast) {
|
||||
if u.use_tree().is_none() {
|
||||
u.remove()
|
||||
u.remove();
|
||||
}
|
||||
} else if let Some(u) = parent.and_then(ast::UseTreeList::cast) {
|
||||
if u.use_trees().next().is_none() {
|
||||
|
|
Loading…
Reference in a new issue