From 5d6f14f3fc8bf4c758b18d6955928eed9c608358 Mon Sep 17 00:00:00 2001 From: bodymindarts Date: Mon, 12 Sep 2022 15:00:06 +0200 Subject: [PATCH] fix: clippy --- src/workspace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workspace.rs b/src/workspace.rs index 7fd4944..3e2e0d2 100644 --- a/src/workspace.rs +++ b/src/workspace.rs @@ -335,7 +335,7 @@ impl Workspace { } }; let file_name = path.to_str().unwrap().to_string(); - let ident = FileIdent::new(file_name.clone(), None); + let ident = FileIdent::new(file_name, None); if let Some(ident) = inserted_files.remove(&ident.name()) { new_env_state.files.remove(&ident); }