From c08421953447c4dc085c8f94fb39a3a65e02545b Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 24 Apr 2024 21:40:49 -0700 Subject: [PATCH] clarify --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 6b8abb4..a6316cc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -266,6 +266,7 @@ fn maybe_gzip_decode(input:R)->AResult>{ async fn upload_list(cookie:String,group:Option,asset_id_file_map:AssetIDFileMap)->AResult<()>{ let client=reqwest::Client::new(); + //this is calling map on the vec because the closure produces an iterator of futures futures::stream::iter(asset_id_file_map.into_iter() .map(|(asset_id,file)|{ let client=&client;