aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_assists
diff options
context:
space:
mode:
authorMaan2003 <[email protected]>2021-06-13 05:10:22 +0100
committerMaan2003 <[email protected]>2021-06-13 05:10:22 +0100
commitaabd41cafc1a79f5ad124a31a360ab0442c13efd (patch)
tree584a7f437204904fcf23b55e201cb27323790b02 /crates/ide_assists
parentb857a5dcf094728b4beefd652ea31d2828eb0e10 (diff)
clippy::redundant_field_names
Diffstat (limited to 'crates/ide_assists')
-rw-r--r--crates/ide_assists/src/assist_context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_assists/src/assist_context.rs b/crates/ide_assists/src/assist_context.rs
index 8fc40f9bd..d207cacb2 100644
--- a/crates/ide_assists/src/assist_context.rs
+++ b/crates/ide_assists/src/assist_context.rs
@@ -292,7 +292,7 @@ impl AssistBuilder {
292 } 292 }
293 pub(crate) fn create_file(&mut self, dst: AnchoredPathBuf, content: impl Into<String>) { 293 pub(crate) fn create_file(&mut self, dst: AnchoredPathBuf, content: impl Into<String>) {
294 let file_system_edit = 294 let file_system_edit =
295 FileSystemEdit::CreateFile { dst: dst, initial_contents: content.into() }; 295 FileSystemEdit::CreateFile { dst, initial_contents: content.into() };
296 self.source_change.push_file_system_edit(file_system_edit); 296 self.source_change.push_file_system_edit(file_system_edit);
297 } 297 }
298 298