]> git.lizzy.rs Git - rust.git/commitdiff
Update version numbers for From impls
authorOliver Middleton <olliemail27@gmail.com>
Mon, 12 Jun 2017 23:08:37 +0000 (00:08 +0100)
committerOliver Middleton <olliemail27@gmail.com>
Wed, 21 Jun 2017 00:18:19 +0000 (01:18 +0100)
src/liballoc/string.rs
src/libstd/ffi/c_str.rs
src/libstd/ffi/os_str.rs
src/libstd/path.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()
index 1586e0a4ddbd3248cf68ac47f0e9ec1eea4ca644..5f0b11a616eb0f02d236109a00bec23538ee13dc 100644 (file)
@@ -585,7 +585,7 @@ fn from(s: Box<CStr>) -> CString {
     }
 }
 
-#[stable(feature = "box_from_c_string", since = "1.18.0")]
+#[stable(feature = "box_from_c_string", since = "1.20.0")]
 impl From<CString> for Box<CStr> {
     #[inline]
     fn from(s: CString) -> Box<CStr> {
index 3815f986681804c017e89f486b4a82ff069c3292..3232a51546e72fe70ac5bafb9bd4a977b76eb6f8 100644 (file)
@@ -542,7 +542,7 @@ fn from(boxed: Box<OsStr>) -> OsString {
     }
 }
 
-#[stable(feature = "box_from_os_string", since = "1.18.0")]
+#[stable(feature = "box_from_os_string", since = "1.20.0")]
 impl From<OsString> for Box<OsStr> {
     fn from(s: OsString) -> Box<OsStr> {
         s.into_boxed_os_str()
index e9bf7b33b8e4250b7abb9f29bb4009fa687b175a..7a8c89353940ae965c1587cee7d2e1cf032264dc 100644 (file)
@@ -1348,7 +1348,7 @@ fn from(boxed: Box<Path>) -> PathBuf {
     }
 }
 
-#[stable(feature = "box_from_path_buf", since = "1.18.0")]
+#[stable(feature = "box_from_path_buf", since = "1.20.0")]
 impl From<PathBuf> for Box<Path> {
     fn from(p: PathBuf) -> Box<Path> {
         p.into_boxed_path()