From 58379b792842598db1b6bb8e94df76ce9e9c94f6 Mon Sep 17 00:00:00 2001 From: pml68 Date: Sat, 14 Dec 2024 12:55:54 +0100 Subject: refactor: apply a few clippy suggestions --- iced_builder/src/types/project.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iced_builder/src/types') 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) -- cgit v1.2.3