about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorChristopher Durham <cad97@cad97.com>2020-03-09 23:07:04 -0400
committerGitHub <noreply@github.com>2020-03-09 23:07:04 -0400
commita56196205b1919bee851bdfd7e76e9b3ae5090db (patch)
tree780bb7717fb50e2a106f1a1a7abef27e228b4088 /src/liballoc
parent3dbade652ed8ebac70f903e01f51cd92c4e4302c (diff)
downloadrust-a56196205b1919bee851bdfd7e76e9b3ae5090db.tar.gz
rust-a56196205b1919bee851bdfd7e76e9b3ae5090db.zip
Vec::new is const tstable in 1.39 not 1.32
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs
index 61416f2b906..f661b830428 100644
--- a/src/liballoc/vec.rs
+++ b/src/liballoc/vec.rs
@@ -317,7 +317,7 @@ impl<T> Vec<T> {
     /// let mut vec: Vec<i32> = Vec::new();
     /// ```
     #[inline]
-    #[rustc_const_stable(feature = "const_vec_new", since = "1.32.0")]
+    #[rustc_const_stable(feature = "const_vec_new", since = "1.39.0")]
     #[stable(feature = "rust1", since = "1.0.0")]
     pub const fn new() -> Vec<T> {
         Vec { buf: RawVec::NEW, len: 0 }