@@ -272,7 +272,7 @@ impl<T> Box<T> {
272272 /// assert_eq!(*five, 5)
273273 /// ```
274274 #[ cfg( not( no_global_oom_handling) ) ]
275- #[ stable( feature = "new_uninit" , since = "CURRENT_RUSTC_VERSION " ) ]
275+ #[ stable( feature = "new_uninit" , since = "1.82.0 " ) ]
276276 #[ must_use]
277277 #[ inline]
278278 pub fn new_uninit ( ) -> Box < mem:: MaybeUninit < T > > {
@@ -663,7 +663,7 @@ impl<T> Box<[T]> {
663663 /// assert_eq!(*values, [1, 2, 3])
664664 /// ```
665665 #[ cfg( not( no_global_oom_handling) ) ]
666- #[ stable( feature = "new_uninit" , since = "CURRENT_RUSTC_VERSION " ) ]
666+ #[ stable( feature = "new_uninit" , since = "1.82.0 " ) ]
667667 #[ must_use]
668668 pub fn new_uninit_slice ( len : usize ) -> Box < [ mem:: MaybeUninit < T > ] > {
669669 unsafe { RawVec :: with_capacity ( len) . into_box ( len) }
@@ -930,7 +930,7 @@ impl<T, A: Allocator> Box<mem::MaybeUninit<T>, A> {
930930 ///
931931 /// assert_eq!(*five, 5)
932932 /// ```
933- #[ stable( feature = "new_uninit" , since = "CURRENT_RUSTC_VERSION " ) ]
933+ #[ stable( feature = "new_uninit" , since = "1.82.0 " ) ]
934934 #[ inline]
935935 pub unsafe fn assume_init ( self ) -> Box < T , A > {
936936 let ( raw, alloc) = Box :: into_raw_with_allocator ( self ) ;
@@ -1003,7 +1003,7 @@ impl<T, A: Allocator> Box<[mem::MaybeUninit<T>], A> {
10031003 ///
10041004 /// assert_eq!(*values, [1, 2, 3])
10051005 /// ```
1006- #[ stable( feature = "new_uninit" , since = "CURRENT_RUSTC_VERSION " ) ]
1006+ #[ stable( feature = "new_uninit" , since = "1.82.0 " ) ]
10071007 #[ inline]
10081008 pub unsafe fn assume_init ( self ) -> Box < [ T ] , A > {
10091009 let ( raw, alloc) = Box :: into_raw_with_allocator ( self ) ;
0 commit comments