Fix clippy error on unit test CI (#503)

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-10-28 11:48:16 +11:00 committed by GitHub
parent 3530f94243
commit 9ed04cf89b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View file

@ -77,7 +77,7 @@ impl UIThreadInner {
self.confirm_rx
.recv()
.await
.unwrap_or_else(|| Err(BinstallError::UserAbort))
.unwrap_or(Err(BinstallError::UserAbort))
}
}