aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_assists')
-rw-r--r--crates/ra_assists/src/assist_context.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/ra_assists/src/assist_context.rs b/crates/ra_assists/src/assist_context.rs
index 37de4f590..e7220eea9 100644
--- a/crates/ra_assists/src/assist_context.rs
+++ b/crates/ra_assists/src/assist_context.rs
@@ -307,9 +307,7 @@ impl AssistDirector {
307 } 307 }
308 308
309 fn finish(mut self) -> Vec<SourceChange> { 309 fn finish(mut self) -> Vec<SourceChange> {
310 for (_, builder) in 310 for (_, builder) in self.builders.into_iter().collect::<Vec<(FileId, AssistBuilder)>>() {
311 self.builders.into_iter().collect::<Vec<(FileId, AssistBuilder)>>()
312 {
313 self.source_changes.push(builder.finish()); 311 self.source_changes.push(builder.finish());
314 } 312 }
315 self.source_changes 313 self.source_changes