Skip to content

Commit

Permalink
Removed obsolete fence import
Browse files Browse the repository at this point in the history
  • Loading branch information
marius-meissner committed Jan 31, 2023
1 parent 05de2cd commit 4ba0531
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/rt-bytes.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/loom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pub(crate) mod sync {
pub(crate) mod atomic {
#[cfg(not(bytes_no_atomic_cas))]
pub(crate) use core::sync::atomic::{fence, AtomicPtr, AtomicUsize, Ordering};
pub(crate) use core::sync::atomic::{AtomicPtr, AtomicUsize, Ordering};

#[cfg(bytes_no_atomic_cas)]
pub(crate) use core::sync::atomic::{fence, Ordering};
Expand Down

0 comments on commit 4ba0531

Please sign in to comment.