Skip to content

Commit

Permalink
Rollup merge of rust-lang#74143 - pickfire:patch-2, r=jonas-schievink
Browse files Browse the repository at this point in the history
Try remove unneeded ToString import in liballoc slice
  • Loading branch information
Manishearth committed Jul 8, 2020
2 parents bed5f7d + 0965443 commit 32a29e1
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 32a29e1

Please sign in to comment.