From 7ff8f67329368738ae2b70d51b4730c903a21d60 Mon Sep 17 00:00:00 2001 From: Oliver Nordbjerg Date: Thu, 7 Mar 2024 18:56:28 +0100 Subject: [PATCH] chore: clippy --- crates/signer-trezor/src/types.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/signer-trezor/src/types.rs b/crates/signer-trezor/src/types.rs index 58df0083d798..9b3eead0fe86 100644 --- a/crates/signer-trezor/src/types.rs +++ b/crates/signer-trezor/src/types.rs @@ -54,8 +54,8 @@ pub enum TrezorError { Features, } -impl Into for TrezorError { - fn into(self) -> alloy_signer::Error { - alloy_signer::Error::other(self) +impl From for alloy_signer::Error { + fn from(error: TrezorError) -> Self { + alloy_signer::Error::other(error) } }