From bbbbd6bf6480b7f94e997fcbcf710aeaca26ff4c Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 11 Jan 2024 21:32:28 -0800 Subject: [PATCH] wrong tab --- src/main.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main.rs b/src/main.rs index 1772e18..47ae393 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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(()) }