Skip to content

Commit 0d885ef

Browse files
committed
Update version numbers for From impls
1 parent 5a97036 commit 0d885ef

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/liballoc/string.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,7 @@ impl From<Box<str>> for String {
20082008
}
20092009
}
20102010

2011-
#[stable(feature = "box_from_str", since = "1.18.0")]
2011+
#[stable(feature = "box_from_str", since = "1.20.0")]
20122012
impl From<String> for Box<str> {
20132013
fn from(s: String) -> Box<str> {
20142014
s.into_boxed_str()

src/libstd/ffi/c_str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ impl From<Box<CStr>> for CString {
585585
}
586586
}
587587

588-
#[stable(feature = "box_from_c_string", since = "1.18.0")]
588+
#[stable(feature = "box_from_c_string", since = "1.20.0")]
589589
impl From<CString> for Box<CStr> {
590590
#[inline]
591591
fn from(s: CString) -> Box<CStr> {

src/libstd/ffi/os_str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ impl From<Box<OsStr>> for OsString {
542542
}
543543
}
544544

545-
#[stable(feature = "box_from_os_string", since = "1.18.0")]
545+
#[stable(feature = "box_from_os_string", since = "1.20.0")]
546546
impl From<OsString> for Box<OsStr> {
547547
fn from(s: OsString) -> Box<OsStr> {
548548
s.into_boxed_os_str()

src/libstd/path.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@ impl From<Box<Path>> for PathBuf {
13481348
}
13491349
}
13501350

1351-
#[stable(feature = "box_from_path_buf", since = "1.18.0")]
1351+
#[stable(feature = "box_from_path_buf", since = "1.20.0")]
13521352
impl From<PathBuf> for Box<Path> {
13531353
fn from(p: PathBuf) -> Box<Path> {
13541354
p.into_boxed_path()

0 commit comments

Comments
 (0)