Skip to content

Commit

Permalink
thin_box test: import from std, not alloc
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Apr 11, 2022
1 parent 1f7fb64 commit dbc0afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/tests/thin_box.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use alloc::boxed::ThinBox;
use core::mem::size_of;
use std::boxed::ThinBox;

#[test]
fn want_niche_optimization() {
Expand Down

0 comments on commit dbc0afa

Please sign in to comment.