Skip to content

Commit a8e38ed

Browse files
author
Stjepan Glavina
committed
Move AtomicCell into crossbeam-utils
1 parent a3252af commit a8e38ed

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
File renamed without changes.

crossbeam-utils/src/atomic/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
//! Additional utilities for atomics.
22
3+
mod atomic_cell;
34
mod consume;
45

6+
pub use self::atomic_cell::AtomicCell;
57
pub use self::consume::AtomicConsume;

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,13 @@ mod _epoch {
5959
pub use _epoch::crossbeam_epoch as epoch;
6060

6161
mod arc_cell;
62-
mod atomic_cell;
6362

6463
extern crate crossbeam_utils;
6564

6665
/// Additional utilities for atomics.
6766
pub mod atomic {
6867
pub use arc_cell::ArcCell;
69-
pub use atomic_cell::AtomicCell;
68+
pub use crossbeam_utils::atomic::AtomicCell;
7069
pub use crossbeam_utils::atomic::AtomicConsume;
7170
}
7271

0 commit comments

Comments
 (0)