compilation fix

fixing:
error: the item `ToString` is imported redundantly
  --> src/lib.rs:48:26
error: the item `Vec` is imported redundantly
  --> src/lib.rs:48:44

error: could not compile `bip39` (lib) due to 2 previous errors
This commit is contained in:
Michal Kucharczyk 2024-03-28 20:33:30 +01:00
parent a4c57cb84c
commit 6ce654b21f
No known key found for this signature in database
GPG Key ID: 79BC40F580782CC1
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ pub extern crate rand_core;
pub extern crate serde;
#[cfg(feature = "alloc")]
use alloc::{borrow::Cow, string::ToString, vec::Vec};
use alloc::borrow::Cow;
use core::{fmt, str};
/// We support a wide range of dependency versions for `rand` and `rand_core` and not