Skip to content

Commit

Permalink
Fix unused ToString.
Browse files Browse the repository at this point in the history
  • Loading branch information
koxu1996 committed Jun 14, 2024
1 parent ac9483d commit 43d3357
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kairos-crypto/src/implementations/casper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ use std::path::Path;

extern crate alloc;

#[cfg(all(not(feature = "std"), any(feature = "fs", feature = "tx")))]
use alloc::string::ToString;

#[cfg(not(feature = "std"))]
use alloc::{string::ToString, vec::Vec};
use alloc::vec::Vec;

use crate::CryptoError;
use crate::SignerCore;
Expand Down

0 comments on commit 43d3357

Please sign in to comment.