mirror of
https://github.com/sigoden/dufs
synced 2024-09-29 20:53:31 +00:00
chore: removes unnecessary clone (#364)
This commit is contained in:
parent
3deac84cc9
commit
76ef7ba0fb
|
@ -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![];
|
||||
|
|
Loading…
Reference in a new issue