thin_box test: import from std, not alloc
This commit is contained in:
parent
1f7fb6413d
commit
dbc0afa215
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
use alloc::boxed::ThinBox;
|
|
||||||
use core::mem::size_of;
|
use core::mem::size_of;
|
||||||
|
use std::boxed::ThinBox;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn want_niche_optimization() {
|
fn want_niche_optimization() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue