diff options
| author | bors <bors@rust-lang.org> | 2015-12-13 23:40:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-12-13 23:40:12 +0000 |
| commit | 110df043bf585e94764e07700576200290709859 (patch) | |
| tree | 0d2aae2c169f4ed112fe7ffdafed3cb023086175 /src/libstd | |
| parent | 2841cc038102f0e73fb5ae365330ec4c22e37868 (diff) | |
| parent | d4777087363deef5e456e6f6ff6819a6c313501d (diff) | |
| download | rust-110df043bf585e94764e07700576200290709859.tar.gz rust-110df043bf585e94764e07700576200290709859.zip | |
Auto merge of #30351 - tamird:remove-range-inclusive, r=alexcrichton
r? @alexcrichton
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index 25a05efd026..715749f50d4 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -923,10 +923,10 @@ pub fn hard_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<( /// # Ok(()) /// # } /// ``` +#[stable(feature = "rust1", since = "1.0.0")] #[rustc_deprecated(since = "1.1.0", reason = "replaced with std::os::unix::fs::symlink and \ std::os::windows::fs::{symlink_file, symlink_dir}")] -#[stable(feature = "rust1", since = "1.0.0")] pub fn soft_link<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> { fs_imp::symlink(src.as_ref(), dst.as_ref()) } |
