diff options
| author | pml68 <contact@pml68.dev> | 2024-12-14 12:55:54 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2024-12-14 13:52:37 +0100 |
| commit | 58379b792842598db1b6bb8e94df76ce9e9c94f6 (patch) | |
| tree | 5cbfa7865c74f0c1a3453a58893929a45193696b /iced_builder/src/types | |
| parent | feat: switch to `blob_uuid` for uuid generation (diff) | |
| download | iced-builder-58379b792842598db1b6bb8e94df76ce9e9c94f6.tar.gz | |
refactor: apply a few clippy suggestions
Diffstat (limited to 'iced_builder/src/types')
| -rw-r--r-- | iced_builder/src/types/project.rs | 2 |
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) |
