aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_ide/src/references/rename.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/ra_ide/src/references/rename.rs b/crates/ra_ide/src/references/rename.rs
index 97a97c0ae..bcb62b33d 100644
--- a/crates/ra_ide/src/references/rename.rs
+++ b/crates/ra_ide/src/references/rename.rs
@@ -110,9 +110,7 @@ fn rename_mod(
110 ) 110 )
111 }) 111 })
112 .collect::<Vec<_>>(); 112 .collect::<Vec<_>>();
113 for ref_edit in ref_edits { 113 source_file_edits.extend(ref_edits);
114 source_file_edits.push(ref_edit);
115 }
116 } 114 }
117 115
118 Some(SourceChange::from_edits("rename", source_file_edits, file_system_edits)) 116 Some(SourceChange::from_edits("rename", source_file_edits, file_system_edits))