Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
ci: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Mar 26, 2024
1 parent 2a8d613 commit 9091364
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app_ui/address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub fn ui_display_pk_base58(public_key: &crypto::PublicKeyBe) -> Result<bool, Ap
Some(&CROSSMARK),
);

Ok(my_review.show().map_err(check_display_error)?)
my_review.show().map_err(check_display_error)
}

pub fn ui_display_hex(public_key: &crypto::PublicKeyBe) -> Result<bool, AppSW> {
Expand All @@ -63,5 +63,5 @@ pub fn ui_display_hex(public_key: &crypto::PublicKeyBe) -> Result<bool, AppSW> {
Some(&CROSSMARK),
);

Ok(my_review.show().map_err(check_display_error)?)
my_review.show().map_err(check_display_error)
}
2 changes: 1 addition & 1 deletion src/handlers/common/validate_public_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ fn ui_display(info: &KeyMismatchInfo) -> Result<bool, AppSW> {
Some(&CROSSMARK),
);

Ok(my_review.show().map_err(check_display_error)?)
my_review.show().map_err(check_display_error)
}

0 comments on commit 9091364

Please sign in to comment.