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

Signed-off-by: rustfix <771054535@qq.com>
This commit is contained in:
rustfix authored and GitHub committed 2024-04-23 11:00:26 +01:00
1 parent e1fb401619
commit b5eeaf8e6b
2 files changed
-2

No files matched your search

-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`.