aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast/edit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/ast/edit.rs')
-rw-r--r--crates/ra_syntax/src/ast/edit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/edit.rs b/crates/ra_syntax/src/ast/edit.rs
index 01a310f66..99f4726bc 100644
--- a/crates/ra_syntax/src/ast/edit.rs
+++ b/crates/ra_syntax/src/ast/edit.rs
@@ -318,7 +318,7 @@ impl ast::UseTree {
318 None => return self.clone(), 318 None => return self.clone(),
319 }; 319 };
320 let use_tree = 320 let use_tree =
321 make::use_tree(suffix, self.use_tree_list(), self.alias(), self.star_token().is_some()); 321 make::use_tree(suffix, self.use_tree_list(), self.rename(), self.star_token().is_some());
322 let nested = make::use_tree_list(iter::once(use_tree)); 322 let nested = make::use_tree_list(iter::once(use_tree));
323 return make::use_tree(prefix.clone(), Some(nested), None, false); 323 return make::use_tree(prefix.clone(), Some(nested), None, false);
324 324