Skip to content

Commit 03f22fd

Browse files
committed
windows::fs::symlink_dir: fix example to actually use symlink_dir
1 parent b2c0707 commit 03f22fd

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/sys/windows/ext

1 file changed

+1
-1
lines changed

src/libstd/sys/windows/ext/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ pub fn symlink_file<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q)
477477
/// use std::os::windows::fs;
478478
///
479479
/// # fn foo() -> std::io::Result<()> {
480-
/// fs::symlink_file("a", "b")?;
480+
/// fs::symlink_dir("a", "b")?;
481481
/// # Ok(())
482482
/// # }
483483
/// ```

0 commit comments

Comments
 (0)