diff options
| author | Tamir Duberstein <tamird@gmail.com> | 2015-12-12 07:55:28 -0500 |
|---|---|---|
| committer | Tamir Duberstein <tamird@gmail.com> | 2015-12-13 01:02:12 -0500 |
| commit | b964b1d043b8db7a39d7502c068f07cd399e375f (patch) | |
| tree | 7b31acb4e7dfe8e45e40eb8b5913b92e530a9d3d /src/libstd | |
| parent | 722905fda0bc7ef818bccc4b3f59641533269f36 (diff) | |
| download | rust-b964b1d043b8db7a39d7502c068f07cd399e375f.tar.gz rust-b964b1d043b8db7a39d7502c068f07cd399e375f.zip | |
remove deprecated APIs missed in #30182
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()) } |
