From 09654430017b9ed8488ca45c414410af1417a482 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Wed, 8 Jul 2020 12:47:19 +0800 Subject: [PATCH] Remove unneeded ToString import in liballoc slice --- src/liballoc/slice.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs index d7dc2174d665f..daa1a13c1ea3e 100644 --- a/src/liballoc/slice.rs +++ b/src/liballoc/slice.rs @@ -136,8 +136,6 @@ pub use hack::to_vec; // `test_permutations` test mod hack { use crate::boxed::Box; - #[cfg(test)] - use crate::string::ToString; use crate::vec::Vec; // We shouldn't add inline attribute to this since this is used in