@@ -203,7 +203,6 @@ impl AtomicBool {
203203 /// # Examples
204204 ///
205205 /// ```
206- /// #![feature(atomic_access)]
207206 /// use std::sync::atomic::{AtomicBool, Ordering};
208207 ///
209208 /// let mut some_bool = AtomicBool::new(true);
@@ -212,7 +211,7 @@ impl AtomicBool {
212211 /// assert_eq!(some_bool.load(Ordering::SeqCst), false);
213212 /// ```
214213 #[ inline]
215- #[ unstable ( feature = "atomic_access" , issue = "35603 " ) ]
214+ #[ stable ( feature = "atomic_access" , since = "1.15.0 " ) ]
216215 pub fn get_mut ( & mut self ) -> & mut bool {
217216 unsafe { & mut * ( self . v . get ( ) as * mut bool ) }
218217 }
@@ -225,14 +224,13 @@ impl AtomicBool {
225224 /// # Examples
226225 ///
227226 /// ```
228- /// #![feature(atomic_access)]
229227 /// use std::sync::atomic::AtomicBool;
230228 ///
231229 /// let some_bool = AtomicBool::new(true);
232230 /// assert_eq!(some_bool.into_inner(), true);
233231 /// ```
234232 #[ inline]
235- #[ unstable ( feature = "atomic_access" , issue = "35603 " ) ]
233+ #[ stable ( feature = "atomic_access" , since = "1.15.0 " ) ]
236234 pub fn into_inner ( self ) -> bool {
237235 unsafe { self . v . into_inner ( ) != 0 }
238236 }
@@ -588,15 +586,14 @@ impl<T> AtomicPtr<T> {
588586 /// # Examples
589587 ///
590588 /// ```
591- /// #![feature(atomic_access)]
592589 /// use std::sync::atomic::{AtomicPtr, Ordering};
593590 ///
594591 /// let mut atomic_ptr = AtomicPtr::new(&mut 10);
595592 /// *atomic_ptr.get_mut() = &mut 5;
596593 /// assert_eq!(unsafe { *atomic_ptr.load(Ordering::SeqCst) }, 5);
597594 /// ```
598595 #[ inline]
599- #[ unstable ( feature = "atomic_access" , issue = "35603 " ) ]
596+ #[ stable ( feature = "atomic_access" , since = "1.15.0 " ) ]
600597 pub fn get_mut ( & mut self ) -> & mut * mut T {
601598 unsafe { & mut * self . p . get ( ) }
602599 }
@@ -609,14 +606,13 @@ impl<T> AtomicPtr<T> {
609606 /// # Examples
610607 ///
611608 /// ```
612- /// #![feature(atomic_access)]
613609 /// use std::sync::atomic::AtomicPtr;
614610 ///
615611 /// let atomic_ptr = AtomicPtr::new(&mut 5);
616612 /// assert_eq!(unsafe { *atomic_ptr.into_inner() }, 5);
617613 /// ```
618614 #[ inline]
619- #[ unstable ( feature = "atomic_access" , issue = "35603 " ) ]
615+ #[ stable ( feature = "atomic_access" , since = "1.15.0 " ) ]
620616 pub fn into_inner ( self ) -> * mut T {
621617 unsafe { self . p . into_inner ( ) }
622618 }
@@ -883,7 +879,6 @@ macro_rules! atomic_int {
883879 /// # Examples
884880 ///
885881 /// ```
886- /// #![feature(atomic_access)]
887882 /// use std::sync::atomic::{AtomicIsize, Ordering};
888883 ///
889884 /// let mut some_isize = AtomicIsize::new(10);
@@ -905,7 +900,6 @@ macro_rules! atomic_int {
905900 /// # Examples
906901 ///
907902 /// ```
908- /// #![feature(atomic_access)]
909903 /// use std::sync::atomic::AtomicIsize;
910904 ///
911905 /// let some_isize = AtomicIsize::new(5);
@@ -1261,15 +1255,15 @@ atomic_int!{
12611255 stable( feature = "rust1" , since = "1.0.0" ) ,
12621256 stable( feature = "extended_compare_and_swap" , since = "1.10.0" ) ,
12631257 stable( feature = "atomic_debug" , since = "1.3.0" ) ,
1264- unstable ( feature = "atomic_access" , issue = "35603 " ) ,
1258+ stable ( feature = "atomic_access" , since = "1.15.0 " ) ,
12651259 isize AtomicIsize ATOMIC_ISIZE_INIT
12661260}
12671261#[ cfg( target_has_atomic = "ptr" ) ]
12681262atomic_int ! {
12691263 stable( feature = "rust1" , since = "1.0.0" ) ,
12701264 stable( feature = "extended_compare_and_swap" , since = "1.10.0" ) ,
12711265 stable( feature = "atomic_debug" , since = "1.3.0" ) ,
1272- unstable ( feature = "atomic_access" , issue = "35603 " ) ,
1266+ stable ( feature = "atomic_access" , since = "1.15.0 " ) ,
12731267 usize AtomicUsize ATOMIC_USIZE_INIT
12741268}
12751269
0 commit comments