windows::fs::symlink_dir: fix example to actually use symlink_dir

This commit is contained in:
Ralf Jung 2017-07-13 11:14:35 -07:00
parent b2c0707872
commit 03f22fdf5e

View File

@ -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(())
/// # }
/// ```