From 03f22fdf5e290618d2055d48881e31439a6b74ec Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Thu, 13 Jul 2017 11:14:35 -0700 Subject: [PATCH] windows::fs::symlink_dir: fix example to actually use symlink_dir --- src/libstd/sys/windows/ext/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, Q: AsRef>(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(()) /// # } /// ```