Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 9455912

Browse files
authored
fix warning (#7174)
1 parent e15e00c commit 9455912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

primitives/core/src/sr25519.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ use sp_std::vec::Vec;
2727
use schnorrkel::{signing_context, ExpansionMode, Keypair, SecretKey, MiniSecretKey, PublicKey,
2828
derive::{Derivation, ChainCode, CHAIN_CODE_LENGTH}
2929
};
30-
#[cfg(feature = "full_crypto")]
31-
use core::convert::TryFrom;
30+
#[cfg(feature = "std")]
31+
use std::convert::TryFrom;
3232
#[cfg(feature = "std")]
3333
use substrate_bip39::mini_secret_from_entropy;
3434
#[cfg(feature = "std")]

0 commit comments

Comments
 (0)