Skip to content

Commit 11d048a

Browse files
committed
Run rustfmt
1 parent bb72150 commit 11d048a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

crates/assists/src/handlers/expand_glob_import.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,12 @@ fn replace_ast(
183183
) {
184184
let existing_use_trees = match parent.clone() {
185185
Either::Left(_) => vec![],
186-
Either::Right(u) => u.use_trees().filter(|n|
186+
Either::Right(u) => u
187+
.use_trees()
188+
.filter(|n|
187189
// filter out star
188-
n.star_token().is_none()
189-
).collect(),
190+
n.star_token().is_none())
191+
.collect(),
190192
};
191193

192194
let new_use_trees: Vec<ast::UseTree> = names_to_import

0 commit comments

Comments
 (0)