Skip to content

Commit 5b0d82f

Browse files
authored
Rollup merge of rust-lang#127204 - dimpolo:stabilize_atomic_bool_fetch_not, r=jhpratt
Stabilize atomic_bool_fetch_not closes rust-lang#98485 `@rustbot` modify labels: +T-libs-api
2 parents b184a84 + 4385efd commit 5b0d82f

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)