mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Fix clippy error on unit test CI (#503)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
3530f94243
commit
9ed04cf89b
3 changed files with 3 additions and 5 deletions
|
@ -77,7 +77,7 @@ impl UIThreadInner {
|
|||
self.confirm_rx
|
||||
.recv()
|
||||
.await
|
||||
.unwrap_or_else(|| Err(BinstallError::UserAbort))
|
||||
.unwrap_or(Err(BinstallError::UserAbort))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue