about summary refs log tree commit diff
path: root/src/liballoc/string.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-25 16:26:22 +0200
committerGitHub <noreply@github.com>2019-09-25 16:26:22 +0200
commit1e8dd3756171a8a01f3951d61ff6ba8d1ef5bd7d (patch)
tree8cfaca24961df42b0c4f69dd214d1b9e552ce7d4 /src/liballoc/string.rs
parenta1b5dfaaf7f99ec2f35143864927ba76b8a3727b (diff)
parentf359a94849f5a66be4e5058ad9f5a480623a4627 (diff)
downloadrust-1e8dd3756171a8a01f3951d61ff6ba8d1ef5bd7d.tar.gz
rust-1e8dd3756171a8a01f3951d61ff6ba8d1ef5bd7d.zip
Rollup merge of #64764 - Mark-Simulacrum:snap, r=Centril
Master is now 1.40

r? @pietroalbini
Diffstat (limited to 'src/liballoc/string.rs')
-rw-r--r--src/liballoc/string.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/liballoc/string.rs b/src/liballoc/string.rs
index e5f96ada6d5..abe50fdb7a3 100644
--- a/src/liballoc/string.rs
+++ b/src/liballoc/string.rs
@@ -369,7 +369,6 @@ impl String {
     /// ```
     #[inline]
     #[stable(feature = "rust1", since = "1.0.0")]
-    #[cfg_attr(bootstrap, rustc_const_unstable(feature = "const_string_new"))]
     pub const fn new() -> String {
         String { vec: Vec::new() }
     }