mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-14 14:46:37 +00:00
Fmt utils.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
ae0932aa11
commit
d6fa12f12a
1 changed files with 1 additions and 3 deletions
|
@ -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}"))),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue