@@ -946,7 +946,7 @@ impl<T, A: Allocator> Vec<T, A> {
946
946
/// ```
947
947
#[ inline]
948
948
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
949
- #[ rustc_const_unstable( feature = "const_vec_string_slice" , issue = "none " ) ]
949
+ #[ rustc_const_unstable( feature = "const_vec_string_slice" , issue = "129041 " ) ]
950
950
pub const fn capacity ( & self ) -> usize {
951
951
self . buf . capacity ( )
952
952
}
@@ -1254,7 +1254,7 @@ impl<T, A: Allocator> Vec<T, A> {
1254
1254
/// ```
1255
1255
#[ inline]
1256
1256
#[ stable( feature = "vec_as_slice" , since = "1.7.0" ) ]
1257
- #[ rustc_const_unstable( feature = "const_vec_string_slice" , issue = "none " ) ]
1257
+ #[ rustc_const_unstable( feature = "const_vec_string_slice" , issue = "129041 " ) ]
1258
1258
pub const fn as_slice ( & self ) -> & [ T ] {
1259
1259
unsafe { slice:: from_raw_parts ( self . as_ptr ( ) , self . len ) }
1260
1260
}
@@ -1328,7 +1328,7 @@ impl<T, A: Allocator> Vec<T, A> {
1328
1328
/// [`as_mut_ptr`]: Vec::as_mut_ptr
1329
1329
/// [`as_ptr`]: Vec::as_ptr
1330
1330
#[ stable( feature = "vec_as_ptr" , since = "1.37.0" ) ]
1331
- #[ rustc_const_unstable( feature = "const_vec_string_slice" , issue = "none " ) ]
1331
+ #[ rustc_const_unstable( feature = "const_vec_string_slice" , issue = "129041 " ) ]
1332
1332
#[ rustc_never_returns_null_ptr]
1333
1333
#[ inline]
1334
1334
pub const fn as_ptr ( & self ) -> * const T {
@@ -2265,7 +2265,7 @@ impl<T, A: Allocator> Vec<T, A> {
2265
2265
/// ```
2266
2266
#[ inline]
2267
2267
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2268
- #[ rustc_const_unstable( feature = "const_vec_string_slice" , issue = "none " ) ]
2268
+ #[ rustc_const_unstable( feature = "const_vec_string_slice" , issue = "129041 " ) ]
2269
2269
#[ rustc_confusables( "length" , "size" ) ]
2270
2270
pub const fn len ( & self ) -> usize {
2271
2271
self . len
@@ -2283,7 +2283,7 @@ impl<T, A: Allocator> Vec<T, A> {
2283
2283
/// assert!(!v.is_empty());
2284
2284
/// ```
2285
2285
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2286
- #[ rustc_const_unstable( feature = "const_vec_string_slice" , issue = "none " ) ]
2286
+ #[ rustc_const_unstable( feature = "const_vec_string_slice" , issue = "129041 " ) ]
2287
2287
pub const fn is_empty ( & self ) -> bool {
2288
2288
self . len ( ) == 0
2289
2289
}
0 commit comments