diff options
| author | Ralf Jung <post@ralfj.de> | 2017-07-13 11:14:35 -0700 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2017-07-13 11:14:35 -0700 |
| commit | 03f22fdf5e290618d2055d48881e31439a6b74ec (patch) | |
| tree | 115d71fc3415bff092120cf237430e77b3f05cca /src/libstd/sys | |
| parent | b2c0707872082c890f332178f59fd02eea5b98f3 (diff) | |
| download | rust-03f22fdf5e290618d2055d48881e31439a6b74ec.tar.gz rust-03f22fdf5e290618d2055d48881e31439a6b74ec.zip | |
windows::fs::symlink_dir: fix example to actually use symlink_dir
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/windows/ext/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/ext/fs.rs b/src/libstd/sys/windows/ext/fs.rs index 67348a00494..a1c63e33588 100644 --- a/src/libstd/sys/windows/ext/fs.rs +++ b/src/libstd/sys/windows/ext/fs.rs @@ -477,7 +477,7 @@ pub fn symlink_file<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) /// use std::os::windows::fs; /// /// # fn foo() -> std::io::Result<()> { -/// fs::symlink_file("a", "b")?; +/// fs::symlink_dir("a", "b")?; /// # Ok(()) /// # } /// ``` |
