From 6ce654b21f266470873b9ce5f44fa1ad0091bdf5 Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Thu, 28 Mar 2024 20:33:30 +0100 Subject: [PATCH] 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 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a97995c..808870a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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