We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c3359c commit 4385efdCopy full SHA for 4385efd
core/src/sync/atomic.rs
@@ -1069,7 +1069,6 @@ impl AtomicBool {
1069
/// # Examples
1070
///
1071
/// ```
1072
- /// #![feature(atomic_bool_fetch_not)]
1073
/// use std::sync::atomic::{AtomicBool, Ordering};
1074
1075
/// let foo = AtomicBool::new(true);
@@ -1081,7 +1080,7 @@ impl AtomicBool {
1081
1080
/// assert_eq!(foo.load(Ordering::SeqCst), true);
1082
1083
#[inline]
1084
- #[unstable(feature = "atomic_bool_fetch_not", issue = "98485")]
+ #[stable(feature = "atomic_bool_fetch_not", since = "CURRENT_RUSTC_VERSION")]
1085
#[cfg(target_has_atomic = "8")]
1086
#[cfg_attr(miri, track_caller)] // even without panics, this helps for Miri backtraces
1087
pub fn fetch_not(&self, order: Ordering) -> bool {
0 commit comments