Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg committed Mar 7, 2024
1 parent b797a39 commit 7ff8f67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/signer-trezor/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ pub enum TrezorError {
Features,
}

impl Into<alloy_signer::Error> for TrezorError {
fn into(self) -> alloy_signer::Error {
alloy_signer::Error::other(self)
impl From<TrezorError> for alloy_signer::Error {
fn from(error: TrezorError) -> Self {
alloy_signer::Error::other(error)
}
}

0 comments on commit 7ff8f67

Please sign in to comment.