Skip to content

Commit 50d7e94

Browse files
authored
Rollup merge of rust-lang#74143 - pickfire:patch-2, r=jonas-schievink
Try remove unneeded ToString import in liballoc slice
2 parents 93858ce + 0965443 commit 50d7e94

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/liballoc/slice.rs

-2
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ pub use hack::to_vec;
136136
// `test_permutations` test
137137
mod hack {
138138
use crate::boxed::Box;
139-
#[cfg(test)]
140-
use crate::string::ToString;
141139
use crate::vec::Vec;
142140

143141
// We shouldn't add inline attribute to this since this is used in

0 commit comments

Comments
 (0)