From dbc0afa215a9b5de875d2d88d3b03e855e8d2681 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 --- library/alloc/tests/thin_box.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/tests/thin_box.rs b/library/alloc/tests/thin_box.rs index 0fe6aaa4d0048..51d2e9324bf2e 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() {