mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 15:16:37 +00:00
cargo fmt
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
fc0f4f3906
commit
6795fbf31b
1 changed files with 5 additions and 5 deletions
|
@ -75,11 +75,11 @@ impl<T: Send + 'static, E: Send + Debug + 'static> FuturesResolver<T, E> {
|
|||
|
||||
async move {
|
||||
loop {
|
||||
match rx.recv().await {
|
||||
Some(Ok(ret)) => return Some(ret),
|
||||
Some(Err(err)) => warn!(?err, "Fail to resolve the future"),
|
||||
None => return None,
|
||||
}
|
||||
match rx.recv().await {
|
||||
Some(Ok(ret)) => return Some(ret),
|
||||
Some(Err(err)) => warn!(?err, "Fail to resolve the future"),
|
||||
None => return None,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue