From 76ef7ba0fbb056244cbab7c6cc19d551dc6c45c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20M=C3=B6ller?= Date: Sat, 17 Feb 2024 13:09:20 +0100 Subject: [PATCH] chore: removes unnecessary clone (#364) --- src/server.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server.rs b/src/server.rs index e1c09a0..563cc44 100644 --- a/src/server.rs +++ b/src/server.rs @@ -1535,7 +1535,6 @@ async fn zip_dir( ) -> Result<()> { let mut writer = ZipFileWriter::with_tokio(writer); let hidden = Arc::new(hidden.to_vec()); - let hidden = hidden.clone(); let dir_clone = dir.to_path_buf(); let zip_paths = tokio::task::spawn_blocking(move || { let mut paths: Vec = vec![];