@@ -839,7 +839,6 @@ impl AtomicBool {
839
839
/// # Examples
840
840
///
841
841
/// ```rust
842
- /// #![feature(atomic_fetch_update)]
843
842
/// use std::sync::atomic::{AtomicBool, Ordering};
844
843
///
845
844
/// let x = AtomicBool::new(false);
@@ -849,7 +848,7 @@ impl AtomicBool {
849
848
/// assert_eq!(x.load(Ordering::SeqCst), false);
850
849
/// ```
851
850
#[ inline]
852
- #[ unstable ( feature = "atomic_fetch_update" , reason = "recently added" , issue = "78639 ") ]
851
+ #[ stable ( feature = "atomic_fetch_update" , since = "1.53.0 " ) ]
853
852
#[ cfg( target_has_atomic = "8" ) ]
854
853
pub fn fetch_update < F > (
855
854
& self ,
@@ -1227,7 +1226,6 @@ impl<T> AtomicPtr<T> {
1227
1226
/// # Examples
1228
1227
///
1229
1228
/// ```rust
1230
- /// #![feature(atomic_fetch_update)]
1231
1229
/// use std::sync::atomic::{AtomicPtr, Ordering};
1232
1230
///
1233
1231
/// let ptr: *mut _ = &mut 5;
@@ -1246,7 +1244,7 @@ impl<T> AtomicPtr<T> {
1246
1244
/// assert_eq!(some_ptr.load(Ordering::SeqCst), new);
1247
1245
/// ```
1248
1246
#[ inline]
1249
- #[ unstable ( feature = "atomic_fetch_update" , reason = "recently added" , issue = "78639 ") ]
1247
+ #[ stable ( feature = "atomic_fetch_update" , since = "1.53.0 " ) ]
1250
1248
#[ cfg( target_has_atomic = "ptr" ) ]
1251
1249
pub fn fetch_update < F > (
1252
1250
& self ,
0 commit comments