diff options
| author | Ivan Tham <pickfire@riseup.net> | 2020-07-08 12:47:19 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-08 12:47:19 +0800 |
| commit | 09654430017b9ed8488ca45c414410af1417a482 (patch) | |
| tree | c1c9a41189de4e0a34bf2f4a02b18fa68e7def0e /src/liballoc | |
| parent | 8ac1525e091d3db28e67adcbbd6db1e1deaa37fb (diff) | |
Remove unneeded ToString import in liballoc slice
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/slice.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs index d7dc2174d66..daa1a13c1ea 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 |
