mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
thin_box test: import from std, not alloc
This commit is contained in:
parent
1f7fb6413d
commit
dbc0afa215
@ -1,5 +1,5 @@
|
||||
use alloc::boxed::ThinBox;
|
||||
use core::mem::size_of;
|
||||
use std::boxed::ThinBox;
|
||||
|
||||
#[test]
|
||||
fn want_niche_optimization() {
|
||||
|
Loading…
Reference in New Issue
Block a user