fix: add missing semicolon in remove method call

Signed-off-by: Tarek <tareknaser360@gmail.com>
This commit is contained in:
Tarek 2024-12-07 22:52:54 +02:00
parent 59cfb84379
commit 52dd11ee03

View file

@ -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() {