]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/string.rs
Update version numbers for From impls
[rust.git] / src / liballoc / string.rs
index c1ef1c2f96c7311100f9f4e905112570b13a0096..02ecb65fa38ff7b5ffd9ecaa328e80d46dbd0f28 100644 (file)
@@ -2008,7 +2008,7 @@ fn from(s: Box<str>) -> String {
     }
 }
 
-#[stable(feature = "box_from_str", since = "1.18.0")]
+#[stable(feature = "box_from_str", since = "1.20.0")]
 impl From<String> for Box<str> {
     fn from(s: String) -> Box<str> {
         s.into_boxed_str()