about summary refs log tree commit diff
path: root/src/libstd/path.rs
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2017-05-20 08:38:39 +0100
committerOliver Middleton <olliemail27@gmail.com>2017-05-20 08:38:39 +0100
commit2f703e4304c1c9b15c616b7a08bac581af5ab430 (patch)
tree6eea2177e7026700814b0e820655ec77fb37ca8d /src/libstd/path.rs
parent9f15631c36665911eb8e6f594ebcfe93e65a461c (diff)
Correct some stability versions
These were found by running tidy on stable versions of rust and finding
features stabilised with the wrong version numbers.
Diffstat (limited to 'src/libstd/path.rs')
-rw-r--r--src/libstd/path.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs
index f4b9a8972e3..e7d8c3007f6 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -1341,14 +1341,14 @@ impl<'a> From<&'a Path> for Box<Path> {
     }
 }
 
-#[stable(feature = "path_buf_from_box", since = "1.17.0")]
+#[stable(feature = "path_buf_from_box", since = "1.18.0")]
 impl<'a> From<Box<Path>> for PathBuf {
     fn from(boxed: Box<Path>) -> PathBuf {
         boxed.into_path_buf()
     }
 }
 
-#[stable(feature = "box_from_path_buf", since = "1.17.0")]
+#[stable(feature = "box_from_path_buf", since = "1.18.0")]
 impl Into<Box<Path>> for PathBuf {
     fn into(self) -> Box<Path> {
         self.into_boxed_path()
@@ -1424,7 +1424,7 @@ impl Borrow<Path> for PathBuf {
     }
 }
 
-#[stable(feature = "default_for_pathbuf", since = "1.16.0")]
+#[stable(feature = "default_for_pathbuf", since = "1.17.0")]
 impl Default for PathBuf {
     fn default() -> Self {
         PathBuf::new()