diff options
| author | iDawer <ilnur.iskhakov.oss@outlook.com> | 2022-04-02 14:18:42 +0500 |
|---|---|---|
| committer | iDawer <ilnur.iskhakov.oss@outlook.com> | 2022-04-02 14:18:42 +0500 |
| commit | c8c21aabff0a7dc86c84646c587e2b400bc01d30 (patch) | |
| tree | e448b53b7b7fc9dd6b7a9e32efbe099042b428d1 /crates/syntax/src/ast | |
| parent | b4c608896c1f5f37ebacc00de76da979c0439700 (diff) | |
| download | rust-c8c21aabff0a7dc86c84646c587e2b400bc01d30.tar.gz rust-c8c21aabff0a7dc86c84646c587e2b400bc01d30.zip | |
fix: `merge_imports::recursive_merge` exiting early
Diffstat (limited to 'crates/syntax/src/ast')
| -rw-r--r-- | crates/syntax/src/ast/edit_in_place.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/syntax/src/ast/edit_in_place.rs b/crates/syntax/src/ast/edit_in_place.rs index 296c6bfec01..19edead30a6 100644 --- a/crates/syntax/src/ast/edit_in_place.rs +++ b/crates/syntax/src/ast/edit_in_place.rs @@ -328,7 +328,7 @@ impl ast::UseTree { return; } // At this point, prefix path is detached; _self_ use tree has suffix path. - // Next, transoform 'suffix' use tree into 'prefix::{suffix}' + // Next, transform 'suffix' use tree into 'prefix::{suffix}' let subtree = self.clone_subtree().clone_for_update(); ted::remove_all_iter(self.syntax().children_with_tokens()); ted::insert(Position::first_child_of(self.syntax()), prefix.syntax()); |
