Rollup merge of #127204 - dimpolo:stabilize_atomic_bool_fetch_not, r=… · model-checking/verify-rust-std@5b0d82f (original) (raw)

Original file line number Diff line number Diff line change
@@ -1069,7 +1069,6 @@ impl AtomicBool {
1069 1069 /// # Examples
1070 1070 ///
1071 1071 /// ```
1072 - /// #![feature(atomic_bool_fetch_not)]
1073 1072 /// use std::sync::atomic::{AtomicBool, Ordering};
1074 1073 ///
1075 1074 /// let foo = AtomicBool::new(true);
@@ -1081,7 +1080,7 @@ impl AtomicBool {
1081 1080 /// assert_eq!(foo.load(Ordering::SeqCst), true);
1082 1081 /// ```
1083 1082 #[inline]
1084 -#[unstable(feature = "atomic_bool_fetch_not", issue = "98485")]
1083 +#[stable(feature = "atomic_bool_fetch_not", since = "CURRENT_RUSTC_VERSION")]
1085 1084 #[cfg(target_has_atomic = "8")]
1086 1085 #[cfg_attr(miri, track_caller)] // even without panics, this helps for Miri backtraces
1087 1086 pub fn fetch_not(&self, order: Ordering) -> bool {