about summary refs log tree commit diff
path: root/src/liballoc/vec.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/liballoc/vec.rs')
-rw-r--r--src/liballoc/vec.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs
index 2ad4e22884e..19c95e20793 100644
--- a/src/liballoc/vec.rs
+++ b/src/liballoc/vec.rs
@@ -315,10 +315,7 @@ impl<T> Vec<T> {
     /// let mut vec: Vec<i32> = Vec::new();
     /// ```
     #[inline]
-    #[cfg_attr(
-        not(bootstrap),
-        rustc_const_stable(feature = "const_vec_new", since = "1.32.0"),
-    )]
+    #[rustc_const_stable(feature = "const_vec_new", since = "1.32.0")]
     #[stable(feature = "rust1", since = "1.0.0")]
     pub const fn new() -> Vec<T> {
         Vec {