Skip to content

Commit 7d5f236

Browse files
author
leocth
committed
Add feature gate #![atomic_bool_fetch_not]
1 parent dcfe92e commit 7d5f236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/sync/atomic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ impl AtomicBool {
883883
/// assert_eq!(foo.load(Ordering::SeqCst), true);
884884
/// ```
885885
#[inline]
886-
#[stable(feature = "rust1", since = "1.0.0")]
886+
#[unstable(feature = "atomic_bool_fetch_not", issue = "98485")]
887887
#[cfg(target_has_atomic = "8")]
888888
pub fn fetch_not(&self, order: Ordering) -> bool {
889889
self.fetch_xor(true, order)

0 commit comments

Comments
 (0)