From 99248903e6b59dd67d8ccbfa924692e908cefa1f Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 1 Apr 2024 13:59:44 +1100 Subject: [PATCH] Remove unnecessary imports `Vec` and `ToString` are part of stdlib prelude now, no need to import them explicitly. Clears two rustc `unused_imports` 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