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