about summary refs log tree commit diff
path: root/src/libstd/sys/windows
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-23 08:58:47 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-23 08:58:47 -0700
commita318b5134667f30395fb0036ea3dd987bf8e1766 (patch)
tree7d01efcadd05c9403dea473b2fde570e5ec0c4dc /src/libstd/sys/windows
parent1114fcd945f6e979660053aeed561bcfb5da669e (diff)
downloadrust-a318b5134667f30395fb0036ea3dd987bf8e1766.tar.gz
rust-a318b5134667f30395fb0036ea3dd987bf8e1766.zip
std: Add missing stability for symlink functions
These functions were intended to be introduced as `#[stable]` as a stable API
was deprecated in favor of them, but they just erroneously forgot the stability
attributes.
Diffstat (limited to 'src/libstd/sys/windows')
-rw-r--r--src/libstd/sys/windows/ext.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/sys/windows/ext.rs b/src/libstd/sys/windows/ext.rs
index eac6496870e..dd747d202a0 100644
--- a/src/libstd/sys/windows/ext.rs
+++ b/src/libstd/sys/windows/ext.rs
@@ -256,6 +256,7 @@ pub mod fs {
     /// # Ok(())
     /// # }
     /// ```
+    #[stable(feature = "rust1", since = "1.0.0")]
     pub fn symlink_file<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q)
                                                         -> io::Result<()>
     {
@@ -278,6 +279,7 @@ pub mod fs {
     /// # Ok(())
     /// # }
     /// ```
+    #[stable(feature = "rust1", since = "1.0.0")]
     pub fn symlink_dir<P: AsRef<Path>, Q: AsRef<Path>> (src: P, dst: Q)
                                                         -> io::Result<()>
     {