diff options
| author | Ralf Jung <post@ralfj.de> | 2022-04-10 22:59:51 -0400 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-04-10 22:59:51 -0400 |
| commit | dbc0afa215a9b5de875d2d88d3b03e855e8d2681 (patch) | |
| tree | b2ffac19da4383941925181830dc68e6ec21dc67 | |
| parent | 1f7fb6413d6d6c0c929b223e478e44c3db991b03 (diff) | |
| download | rust-dbc0afa215a9b5de875d2d88d3b03e855e8d2681.tar.gz rust-dbc0afa215a9b5de875d2d88d3b03e855e8d2681.zip | |
thin_box test: import from std, not alloc
| -rw-r--r-- | library/alloc/tests/thin_box.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/tests/thin_box.rs b/library/alloc/tests/thin_box.rs index 0fe6aaa4d00..51d2e9324bf 100644 --- a/library/alloc/tests/thin_box.rs +++ b/library/alloc/tests/thin_box.rs @@ -1,5 +1,5 @@ -use alloc::boxed::ThinBox; use core::mem::size_of; +use std::boxed::ThinBox; #[test] fn want_niche_optimization() { |
