about summary refs log tree commit diff
path: root/src/liballoc/slice.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-09 11:50:42 -0700
committerGitHub <noreply@github.com>2020-07-09 11:50:42 -0700
commit2d432ae35bc95dafba090a1b78cc17f2fbdbecb9 (patch)
tree67f1bd8d299a09bd54244cf888ffb59b7a6c304b /src/liballoc/slice.rs
parent887f9e7e919888a7eeeacdd5b2702f302e84a5d8 (diff)
parent09654430017b9ed8488ca45c414410af1417a482 (diff)
downloadrust-2d432ae35bc95dafba090a1b78cc17f2fbdbecb9.tar.gz
rust-2d432ae35bc95dafba090a1b78cc17f2fbdbecb9.zip
Rollup merge of #74143 - pickfire:patch-2, r=jonas-schievink
Try remove unneeded ToString import in liballoc slice
Diffstat (limited to 'src/liballoc/slice.rs')
-rw-r--r--src/liballoc/slice.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs
index 3dbe2442866..3d51115fe01 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