Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andylokandy committed Nov 10, 2024
1 parent cb01a50 commit 50bae7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smallbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ mod tests {

#[test]
fn test_interior_mutability() {
use std::cell::Cell;
use core::cell::Cell;
let cellbox = SmallBox::<Cell<u32>, S1>::new(Cell::new(0));
assert!(!cellbox.is_heap());
cellbox.set(1);
Expand Down

0 comments on commit 50bae7d

Please sign in to comment.