]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #50460 - F001:const_string, r=kennytm
authorkennytm <kennytm@gmail.com>
Wed, 9 May 2018 09:25:53 +0000 (17:25 +0800)
committerkennytm <kennytm@gmail.com>
Wed, 9 May 2018 12:29:42 +0000 (20:29 +0800)
commit1f4718a5c1ae842d119b2a0399ce07a4ee78c28c
tree6c360ee03585f6a63746937ff64d49b75195c3ab
parentdea03f1239a5c9ce44daff36473c7d258c4aef1d
parent160063aad2206a35e6312bfaa159f0f4475af0ae
Rollup merge of #50460 - F001:const_string, r=kennytm

Make `String::new()` const

Following the steps of https://github.com/rust-lang/rust/pull/50233 , make `String::new()` a `const fn`.