From d6fa12f12a79e0b5a2b40ced2cc5bd711bd2f6d0 Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Fri, 16 May 2025 23:04:08 +1000 Subject: [PATCH] Fmt utils.rs Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --- crates/binstalk-downloader/src/utils.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/binstalk-downloader/src/utils.rs b/crates/binstalk-downloader/src/utils.rs index ee1e27cf..0fcb4f57 100644 --- a/crates/binstalk-downloader/src/utils.rs +++ b/crates/binstalk-downloader/src/utils.rs @@ -100,9 +100,7 @@ where async fn inner(handle: task::JoinHandle>) -> io::Result { match handle.await { Ok(res) => res, - Err(err) => Err(io::Error::other( - format!("background task failed: {err}"), - )), + Err(err) => Err(io::Error::other(format!("background task failed: {err}"))), } }