thin_box test: import from std, not alloc

This commit is contained in:
Ralf Jung 2022-04-10 22:59:51 -04:00
parent 1f7fb6413d
commit dbc0afa215

View File

@ -1,5 +1,5 @@
use alloc::boxed::ThinBox;
use core::mem::size_of;
use std::boxed::ThinBox;
#[test]
fn want_niche_optimization() {