about summary refs log tree commit diff
path: root/src/libstd/sys/windows/ext/fs.rs
diff options
context:
space:
mode:
authorBrian Campbell <lambda@continuation.org>2015-05-20 21:50:18 -0400
committerBrian Campbell <lambda@continuation.org>2015-05-20 21:59:21 -0400
commit945c50d9748d0ddb497ff1bf68742c96ed3ae4ca (patch)
tree7315bdcece4e88fb59d042b7cb4561dd1a5be69a /src/libstd/sys/windows/ext/fs.rs
parentc575885e2561db36d3c7434192190e3dd025bd78 (diff)
downloadrust-945c50d9748d0ddb497ff1bf68742c96ed3ae4ca.tar.gz
rust-945c50d9748d0ddb497ff1bf68742c96ed3ae4ca.zip
Fix stability and deprecation markers on soft_link and symlink
The change to split up soft_link to OS-specific symlink, symlink_file,
and symlink_dir didn't actually land in 1.0.0.  Update the stability and
deprecation attributes to correctly indicate that these changes happend
in 1.1.0.
Diffstat (limited to 'src/libstd/sys/windows/ext/fs.rs')
-rw-r--r--src/libstd/sys/windows/ext/fs.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/windows/ext/fs.rs b/src/libstd/sys/windows/ext/fs.rs
index 822e1b370c2..aaffe8dadf8 100644
--- a/src/libstd/sys/windows/ext/fs.rs
+++ b/src/libstd/sys/windows/ext/fs.rs
@@ -122,7 +122,7 @@ impl MetadataExt for Metadata {
 /// # Ok(())
 /// # }
 /// ```
-#[stable(feature = "rust1", since = "1.0.0")]
+#[stable(feature = "symlink", since = "1.1.0")]
 pub fn symlink_file<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q)
                                                     -> io::Result<()> {
     sys::fs::symlink_inner(src.as_ref(), dst.as_ref(), false)
@@ -143,7 +143,7 @@ pub fn symlink_file<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q)
 /// # Ok(())
 /// # }
 /// ```
-#[stable(feature = "rust1", since = "1.0.0")]
+#[stable(feature = "symlink", since = "1.1.0")]
 pub fn symlink_dir<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q)
                                                    -> io::Result<()> {
     sys::fs::symlink_inner(src.as_ref(), dst.as_ref(), true)