wrong tab

This commit is contained in:
Quaternions 2024-01-11 21:32:28 -08:00
parent e8ef06c2cb
commit bbbbd6bf64

View File

@ -354,16 +354,16 @@ async fn download_history(config:DownloadHistoryConfig)->AResult<()>{
})
.buffer_unordered(CONCURRENT_REQUESTS)
.for_each(|b:AResult<_>|async{
match b{
Ok((dest,data))=>{
match tokio::fs::write(dest,data).await{
Err(e)=>eprintln!("fs error: {}",e),
_=>(),
}
},
Err(e)=>eprintln!("dl error: {}",e),
}
}).await;
match b{
Ok((dest,data))=>{
match tokio::fs::write(dest,data).await{
Err(e)=>eprintln!("fs error: {}",e),
_=>(),
}
},
Err(e)=>eprintln!("dl error: {}",e),
}
}).await;
Ok(())
}