Skip to content

Commit

Permalink
chore: removes unnecessary clone (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
TinyTinni authored Feb 17, 2024
1 parent 3deac84 commit 76ef7ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,6 @@ async fn zip_dir<W: AsyncWrite + Unpin>(
) -> 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<PathBuf> = vec![];
Expand Down

0 comments on commit 76ef7ba

Please sign in to comment.