Skip to content

Commit 4385efd

Browse files
committed
Stabilize atomic_bool_fetch_not
1 parent 6c3359c commit 4385efd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/sync/atomic.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,6 @@ impl AtomicBool {
10691069
/// # Examples
10701070
///
10711071
/// ```
1072-
/// #![feature(atomic_bool_fetch_not)]
10731072
/// use std::sync::atomic::{AtomicBool, Ordering};
10741073
///
10751074
/// let foo = AtomicBool::new(true);
@@ -1081,7 +1080,7 @@ impl AtomicBool {
10811080
/// assert_eq!(foo.load(Ordering::SeqCst), true);
10821081
/// ```
10831082
#[inline]
1084-
#[unstable(feature = "atomic_bool_fetch_not", issue = "98485")]
1083+
#[stable(feature = "atomic_bool_fetch_not", since = "CURRENT_RUSTC_VERSION")]
10851084
#[cfg(target_has_atomic = "8")]
10861085
#[cfg_attr(miri, track_caller)] // even without panics, this helps for Miri backtraces
10871086
pub fn fetch_not(&self, order: Ordering) -> bool {

0 commit comments

Comments
 (0)