From b5eeaf8e6b841787d9c4a1e4dda11372a24f960e Mon Sep 17 00:00:00 2001 From: rustfix <155627174+rustfix@users.noreply.github.com> Date: Tue, 23 Apr 2024 18:00:26 +0800 Subject: [PATCH] refactor: Optimize code based on cargo clippy suggestions (#1554) Signed-off-by: rustfix <771054535@qq.com> --- signer/src/ecdsa.rs | 1 - signer/src/sr25519.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/signer/src/ecdsa.rs b/signer/src/ecdsa.rs index 7a5fee996f..8531d4b51c 100644 --- a/signer/src/ecdsa.rs +++ b/signer/src/ecdsa.rs @@ -238,7 +238,6 @@ impl std::error::Error for Error {} /// since the secret keys are known. pub mod dev { use super::*; - use core::str::FromStr; once_static_cloned! { /// Equivalent to `{DEV_PHRASE}//Alice`. diff --git a/signer/src/sr25519.rs b/signer/src/sr25519.rs index f28302b422..9848cbdd68 100644 --- a/signer/src/sr25519.rs +++ b/signer/src/sr25519.rs @@ -213,7 +213,6 @@ impl std::error::Error for Error {} /// since the secret keys are known. pub mod dev { use super::*; - use core::str::FromStr; once_static_cloned! { /// Equivalent to `{DEV_PHRASE}//Alice`.