Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed May 15, 2024
1 parent 04266f7 commit 00bc7ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/arena.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#[allow(unused_imports)]
use crate::sync::Box;
use crate::sync::{AtomicMut, AtomicPtr, AtomicU32, AtomicU64, Ordering};

use core::{
mem,
ptr::{self, NonNull},
slice,
};
#[allow(unused_imports)]
use std::boxed::Box;

#[cfg(all(feature = "memmap", not(target_family = "wasm")))]
use crate::{MmapOptions, OpenOptions};
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ mod sync {

#[cfg(not(loom))]
pub(crate) use core::sync::atomic::*;
#[cfg(not(loom))]
pub(crate) use std::boxed::Box;
#[cfg(all(not(loom), test))]
pub(crate) use std::sync::Arc;

Expand Down

0 comments on commit 00bc7ce

Please sign in to comment.