We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#![atomic_bool_fetch_not]
1 parent dcfe92e commit 7d5f236Copy full SHA for 7d5f236
library/core/src/sync/atomic.rs
@@ -883,7 +883,7 @@ impl AtomicBool {
883
/// assert_eq!(foo.load(Ordering::SeqCst), true);
884
/// ```
885
#[inline]
886
- #[stable(feature = "rust1", since = "1.0.0")]
+ #[unstable(feature = "atomic_bool_fetch_not", issue = "98485")]
887
#[cfg(target_has_atomic = "8")]
888
pub fn fetch_not(&self, order: Ordering) -> bool {
889
self.fetch_xor(true, order)
0 commit comments