not insta-stable
This commit is contained in:
parent
20ef0e001a
commit
c122b3a42c
2 changed files with 2 additions and 0 deletions
|
@ -322,6 +322,7 @@ impl<T> Vec<T> {
|
|||
/// ```
|
||||
#[inline]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[rustc_const_unstable(feature = "const_vec_new")]
|
||||
pub const fn new() -> Vec<T> {
|
||||
Vec {
|
||||
buf: RawVec::empty(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue