From 50bae7de073976c235bf5162cd422a351086db30 Mon Sep 17 00:00:00 2001 From: andylokandy Date: Sun, 10 Nov 2024 18:12:22 +0800 Subject: [PATCH] fix --- src/smallbox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smallbox.rs b/src/smallbox.rs index 5711ea4..16a91dc 100644 --- a/src/smallbox.rs +++ b/src/smallbox.rs @@ -659,7 +659,7 @@ mod tests { #[test] fn test_interior_mutability() { - use std::cell::Cell; + use core::cell::Cell; let cellbox = SmallBox::, S1>::new(Cell::new(0)); assert!(!cellbox.is_heap()); cellbox.set(1);