windows::fs::symlink_dir: fix example to actually use symlink_dir
This commit is contained in:
parent
b2c0707872
commit
03f22fdf5e
@ -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(())
|
||||
/// # }
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user