Skip to content

Commit 4fb1b1e

Browse files
committed
fix: add missing semicolon in remove method call
Signed-off-by: Tarek <[email protected]>
1 parent 01eaf9a commit 4fb1b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/syntax/src/ast/edit_in_place.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ impl ast::UseTree {
448448

449449
if let Some(u) = parent.clone().and_then(ast::Use::cast) {
450450
if u.use_tree().is_none() {
451-
u.remove()
451+
u.remove();
452452
}
453453
} else if let Some(u) = parent.and_then(ast::UseTreeList::cast) {
454454
if u.use_trees().next().is_none() {

0 commit comments

Comments
 (0)