diff options
| author | dimi <dimi.polonski@gmail.com> | 2024-07-01 14:14:22 +0200 |
|---|---|---|
| committer | dimi <dimi.polonski@gmail.com> | 2024-07-01 14:14:22 +0200 |
| commit | 860729ea39bc568aa57ce8cb152647138cfda995 (patch) | |
| tree | 077303f23af470e9fd20c2e92b70d5c7c3d7bb08 | |
| parent | c3774be7411722d3695de2ab1da9a358d0d5c82c (diff) | |
| download | rust-860729ea39bc568aa57ce8cb152647138cfda995.tar.gz rust-860729ea39bc568aa57ce8cb152647138cfda995.zip | |
Stabilize atomic_bool_fetch_not
| -rw-r--r-- | library/core/src/sync/atomic.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs index df108f5e0e4..efc07f38f68 100644 --- a/library/core/src/sync/atomic.rs +++ b/library/core/src/sync/atomic.rs @@ -1069,7 +1069,6 @@ impl AtomicBool { /// # Examples /// /// ``` - /// #![feature(atomic_bool_fetch_not)] /// use std::sync::atomic::{AtomicBool, Ordering}; /// /// let foo = AtomicBool::new(true); @@ -1081,7 +1080,7 @@ impl AtomicBool { /// assert_eq!(foo.load(Ordering::SeqCst), true); /// ``` #[inline] - #[unstable(feature = "atomic_bool_fetch_not", issue = "98485")] + #[stable(feature = "atomic_bool_fetch_not", since = "CURRENT_RUSTC_VERSION")] #[cfg(target_has_atomic = "8")] #[cfg_attr(miri, track_caller)] // even without panics, this helps for Miri backtraces pub fn fetch_not(&self, order: Ordering) -> bool { |
