From 3a2df5531403f6cc53089e274a1f6f1c7f4e777e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=80=E1=B4=8D=E1=B4=9B=E1=B4=8F=E1=B4=80=E1=B4=87?= =?UTF-8?q?=CA=80?= Date: Tue, 24 Mar 2026 17:15:11 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=A7=BB=E9=99=A4=E4=B8=8D=E5=BF=85?= =?UTF-8?q?=E8=A6=81=E7=9A=84=20Vec=EF=BC=8C=E7=95=A5=E5=BE=AE=E6=8F=90?= =?UTF-8?q?=E5=8D=87=E6=80=A7=E8=83=BD=20(#682)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/bili_sync/src/workflow.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/bili_sync/src/workflow.rs b/crates/bili_sync/src/workflow.rs index 495f5f9..917581f 100644 --- a/crates/bili_sync/src/workflow.rs +++ b/crates/bili_sync/src/workflow.rs @@ -171,7 +171,7 @@ pub async fn fetch_video_details( Ok::<_, anyhow::Error>(()) }) .collect::>(); - tasks.try_collect::>().await?; + tasks.try_collect::<()>().await?; video_source.log_fetch_video_end(); Ok(()) } @@ -688,7 +688,7 @@ pub async fn fetch_page_subtitle( tokio::fs::write(path, subtitle.body.to_string()).await }) .collect::>(); - tasks.try_collect::>().await?; + tasks.try_collect::<()>().await?; Ok(ExecutionStatus::Succeeded) } @@ -750,7 +750,7 @@ pub async fn fetch_upper_face( Ok::<(), anyhow::Error>(()) }) .collect::>(); - tasks.try_collect::>().await?; + tasks.try_collect::<()>().await?; Ok(ExecutionStatus::Succeeded) } @@ -772,7 +772,7 @@ pub async fn generate_upper_nfo( ) }) .collect::>(); - tasks.try_collect::>().await?; + tasks.try_collect::<()>().await?; Ok(ExecutionStatus::Succeeded) }