Skip to content

Commit

Permalink
compilation fix
Browse files Browse the repository at this point in the history
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
  • Loading branch information
michalkucharczyk committed Mar 28, 2024
1 parent a4c57cb commit 73a108e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73a108e

Please sign in to comment.