diff options
author | Mikhail Rakhmanov <[email protected]> | 2020-05-22 21:59:17 +0100 |
---|---|---|
committer | Mikhail Rakhmanov <[email protected]> | 2020-05-22 21:59:17 +0100 |
commit | ef1aaeb59516b16f1b83eb7cdb22f1bcdcc46446 (patch) | |
tree | a6e5a6bd1ae68a841117340c42ff5fa79d0fcc67 /crates | |
parent | 97ffe3c6e8289553e3b3bd22392a22eaa8d61f42 (diff) |
More formatting
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_assists/src/assist_context.rs | 4 |
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 |