Skip to content

Commit

Permalink
Remove unneeded ToString import in liballoc slice
Browse files Browse the repository at this point in the history
  • Loading branch information
pickfire authored Jul 8, 2020
1 parent 8ac1525 commit 0965443
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/liballoc/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0965443

Please sign in to comment.