From 30c2854bd2c3fe3eef4eba72b754af9a4b978856 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 10 Apr 2022 22:59:51 -0400 Subject: [PATCH] thin_box test: import from std, not alloc --- alloc/tests/thin_box.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alloc/tests/thin_box.rs b/alloc/tests/thin_box.rs index 0fe6aaa4d..51d2e9324 100644 --- a/alloc/tests/thin_box.rs +++ b/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() {