From 52dd11ee03a4141bd3a99b81fc4d042bc59b5992 Mon Sep 17 00:00:00 2001 From: Tarek Date: Sat, 7 Dec 2024 22:52:54 +0200 Subject: [PATCH] fix: add missing semicolon in remove method call Signed-off-by: Tarek --- crates/syntax/src/ast/edit_in_place.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/syntax/src/ast/edit_in_place.rs b/crates/syntax/src/ast/edit_in_place.rs index 7b09662022..291fc646e2 100644 --- a/crates/syntax/src/ast/edit_in_place.rs +++ b/crates/syntax/src/ast/edit_in_place.rs @@ -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() {