From f0c0051a1f092c8d591e01441e7780d8489b32cf Mon Sep 17 00:00:00 2001 From: objz Date: Sun, 15 Mar 2026 15:08:33 +0100 Subject: [PATCH] fix: remove redundant rebindings for clippy --- src/instance/import.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/instance/import.rs b/src/instance/import.rs index 89075fd..6b1b1d4 100644 --- a/src/instance/import.rs +++ b/src/instance/import.rs @@ -127,7 +127,6 @@ async fn download_mod_files( .unwrap_or(&file.path) .to_string(); let completed = completed.clone(); - let total = total; tasks.spawn(async move { if let Some(parent) = dest.parent() { let _ = tokio::fs::create_dir_all(parent).await; @@ -157,7 +156,6 @@ async fn download_mod_files( .unwrap_or(&file.path) .to_string(); let completed = completed.clone(); - let total = total; tasks.spawn(async move { if let Some(parent) = dest.parent() { let _ = tokio::fs::create_dir_all(parent).await;