summaryrefslogtreecommitdiff
path: root/iced_builder/src/types
diff options
context:
space:
mode:
Diffstat (limited to 'iced_builder/src/types')
-rw-r--r--iced_builder/src/types/project.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/iced_builder/src/types/project.rs b/iced_builder/src/types/project.rs
index a33d3bb..3bd5975 100644
--- a/iced_builder/src/types/project.rs
+++ b/iced_builder/src/types/project.rs
@@ -86,7 +86,7 @@ impl Project {
.ok_or(Error::DialogClosed)?
};
- let contents = serde_json::to_string(&self.clone())?;
+ let contents = serde_json::to_string(&self)?;
tokio::fs::write(&path, contents).await?;
Ok(path)