Skip to content

Commit dbc0afa

Browse files
committed
thin_box test: import from std, not alloc
1 parent 1f7fb64 commit dbc0afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/tests/thin_box.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use alloc::boxed::ThinBox;
21
use core::mem::size_of;
2+
use std::boxed::ThinBox;
33

44
#[test]
55
fn want_niche_optimization() {

0 commit comments

Comments
 (0)