@@ -1242,7 +1242,7 @@ impl<T, A: Allocator> Vec<T, A> {
12421242 /// ```
12431243 #[ inline]
12441244 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1245- #[ rustc_const_unstable ( feature = "const_vec_string_slice" , issue = "129041 " ) ]
1245+ #[ rustc_const_stable ( feature = "const_vec_string_slice" , since = "TBD " ) ]
12461246 pub const fn capacity ( & self ) -> usize {
12471247 self . buf . capacity ( )
12481248 }
@@ -1557,7 +1557,7 @@ impl<T, A: Allocator> Vec<T, A> {
15571557 #[ inline]
15581558 #[ stable( feature = "vec_as_slice" , since = "1.7.0" ) ]
15591559 #[ cfg_attr( not( test) , rustc_diagnostic_item = "vec_as_slice" ) ]
1560- #[ rustc_const_unstable ( feature = "const_vec_string_slice" , issue = "129041 " ) ]
1560+ #[ rustc_const_stable ( feature = "const_vec_string_slice" , since = "TBD " ) ]
15611561 pub const fn as_slice ( & self ) -> & [ T ] {
15621562 // SAFETY: `slice::from_raw_parts` requires pointee is a contiguous, aligned buffer of size
15631563 // `len` containing properly-initialized `T`s. Data must not be mutated for the returned
@@ -1661,7 +1661,7 @@ impl<T, A: Allocator> Vec<T, A> {
16611661 /// [`as_ptr`]: Vec::as_ptr
16621662 /// [`as_non_null`]: Vec::as_non_null
16631663 #[ stable( feature = "vec_as_ptr" , since = "1.37.0" ) ]
1664- #[ rustc_const_unstable ( feature = "const_vec_string_slice" , issue = "129041 " ) ]
1664+ #[ rustc_const_stable ( feature = "const_vec_string_slice" , since = "TBD " ) ]
16651665 #[ rustc_never_returns_null_ptr]
16661666 #[ rustc_as_ptr]
16671667 #[ inline]
@@ -2675,7 +2675,7 @@ impl<T, A: Allocator> Vec<T, A> {
26752675 /// ```
26762676 #[ inline]
26772677 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
2678- #[ rustc_const_unstable ( feature = "const_vec_string_slice" , issue = "129041 " ) ]
2678+ #[ rustc_const_stable ( feature = "const_vec_string_slice" , since = "TBD " ) ]
26792679 #[ rustc_confusables( "length" , "size" ) ]
26802680 pub const fn len ( & self ) -> usize {
26812681 let len = self . len ;
@@ -2701,7 +2701,7 @@ impl<T, A: Allocator> Vec<T, A> {
27012701 /// ```
27022702 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
27032703 #[ cfg_attr( not( test) , rustc_diagnostic_item = "vec_is_empty" ) ]
2704- #[ rustc_const_unstable ( feature = "const_vec_string_slice" , issue = "129041 " ) ]
2704+ #[ rustc_const_stable ( feature = "const_vec_string_slice" , since = "TBD " ) ]
27052705 pub const fn is_empty ( & self ) -> bool {
27062706 self . len ( ) == 0
27072707 }
0 commit comments