refactor: Optimize code based on cargo clippy suggestions (#1554)

Signed-off-by: rustfix <771054535@qq.com>
This commit is contained in:
rustfix
2024-04-23 18:00:26 +08:00
committed by GitHub
parent e1fb401619
commit b5eeaf8e6b
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -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`.
-1
View File
@@ -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`.