@@ -272,7 +272,7 @@ impl<T> Box<T> {
272
272
/// assert_eq!(*five, 5)
273
273
/// ```
274
274
#[ cfg( not( no_global_oom_handling) ) ]
275
- #[ stable( feature = "new_uninit" , since = "CURRENT_RUSTC_VERSION " ) ]
275
+ #[ stable( feature = "new_uninit" , since = "1.82.0 " ) ]
276
276
#[ must_use]
277
277
#[ inline]
278
278
pub fn new_uninit ( ) -> Box < mem:: MaybeUninit < T > > {
@@ -663,7 +663,7 @@ impl<T> Box<[T]> {
663
663
/// assert_eq!(*values, [1, 2, 3])
664
664
/// ```
665
665
#[ cfg( not( no_global_oom_handling) ) ]
666
- #[ stable( feature = "new_uninit" , since = "CURRENT_RUSTC_VERSION " ) ]
666
+ #[ stable( feature = "new_uninit" , since = "1.82.0 " ) ]
667
667
#[ must_use]
668
668
pub fn new_uninit_slice ( len : usize ) -> Box < [ mem:: MaybeUninit < T > ] > {
669
669
unsafe { RawVec :: with_capacity ( len) . into_box ( len) }
@@ -930,7 +930,7 @@ impl<T, A: Allocator> Box<mem::MaybeUninit<T>, A> {
930
930
///
931
931
/// assert_eq!(*five, 5)
932
932
/// ```
933
- #[ stable( feature = "new_uninit" , since = "CURRENT_RUSTC_VERSION " ) ]
933
+ #[ stable( feature = "new_uninit" , since = "1.82.0 " ) ]
934
934
#[ inline]
935
935
pub unsafe fn assume_init ( self ) -> Box < T , A > {
936
936
let ( raw, alloc) = Box :: into_raw_with_allocator ( self ) ;
@@ -1003,7 +1003,7 @@ impl<T, A: Allocator> Box<[mem::MaybeUninit<T>], A> {
1003
1003
///
1004
1004
/// assert_eq!(*values, [1, 2, 3])
1005
1005
/// ```
1006
- #[ stable( feature = "new_uninit" , since = "CURRENT_RUSTC_VERSION " ) ]
1006
+ #[ stable( feature = "new_uninit" , since = "1.82.0 " ) ]
1007
1007
#[ inline]
1008
1008
pub unsafe fn assume_init ( self ) -> Box < [ T ] , A > {
1009
1009
let ( raw, alloc) = Box :: into_raw_with_allocator ( self ) ;
0 commit comments