diff options
Diffstat (limited to 'src/libstd/sys/windows')
| -rw-r--r-- | src/libstd/sys/windows/fs.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/sys/windows/fs.rs b/src/libstd/sys/windows/fs.rs index 7ace48fe561..9f9290b751d 100644 --- a/src/libstd/sys/windows/fs.rs +++ b/src/libstd/sys/windows/fs.rs @@ -657,6 +657,7 @@ pub fn copy(from: &Path, to: &Path) -> io::Result<u64> { Ok(size as u64) } +#[allow(dead_code)] pub fn symlink_junction<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::Result<()> { symlink_junction_inner(src.as_ref(), dst.as_ref()) } @@ -666,6 +667,7 @@ pub fn symlink_junction<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> io::R // what can be found here: // // http://www.flexhex.com/docs/articles/hard-links.phtml +#[allow(dead_code)] fn symlink_junction_inner(target: &Path, junction: &Path) -> io::Result<()> { let d = DirBuilder::new(); try!(d.mkdir(&junction)); |
