Fmt utils.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2025-05-16 23:04:08 +10:00 committed by GitHub
parent ae0932aa11
commit d6fa12f12a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -100,9 +100,7 @@ where
async fn inner<T: Send + 'static>(handle: task::JoinHandle<io::Result<T>>) -> io::Result<T> {
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}"))),
}
}