about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2020-09-12 15:47:52 -0400
committerNicholas Bishop <nicholasbishop@gmail.com>2020-09-12 15:50:28 -0400
commit2eeb8f18eb493a8ec3b830aabb3e7f1723953bc0 (patch)
treed3d4e2e17956fae1c07788acc079382575c8a590 /library/std
parent7adeb2c795239e2e5ffbe4cd4672157c8e1b9277 (diff)
downloadrust-2eeb8f18eb493a8ec3b830aabb3e7f1723953bc0.tar.gz
rust-2eeb8f18eb493a8ec3b830aabb3e7f1723953bc0.zip
Remove Windows details from Unix and VmWorks symlink() docstrings
This note is not relevant to other operating systems.
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/sys/unix/ext/fs.rs9
-rw-r--r--library/std/src/sys/vxworks/ext/fs.rs9
2 files changed, 0 insertions, 18 deletions
diff --git a/library/std/src/sys/unix/ext/fs.rs b/library/std/src/sys/unix/ext/fs.rs
index 487ac266ee9..4b9f4ceb29c 100644
--- a/library/std/src/sys/unix/ext/fs.rs
+++ b/library/std/src/sys/unix/ext/fs.rs
@@ -836,15 +836,6 @@ impl DirEntryExt for fs::DirEntry {
 ///
 /// The `dst` path will be a symbolic link pointing to the `src` path.
 ///
-/// # Note
-///
-/// On Windows, you must specify whether a symbolic link points to a file
-/// or directory. Use `os::windows::fs::symlink_file` to create a
-/// symbolic link to a file, or `os::windows::fs::symlink_dir` to create a
-/// symbolic link to a directory. Additionally, the process must have
-/// `SeCreateSymbolicLinkPrivilege` in order to be able to create a
-/// symbolic link.
-///
 /// # Examples
 ///
 /// ```no_run
diff --git a/library/std/src/sys/vxworks/ext/fs.rs b/library/std/src/sys/vxworks/ext/fs.rs
index 9b4c64bdb6d..68dc21b806c 100644
--- a/library/std/src/sys/vxworks/ext/fs.rs
+++ b/library/std/src/sys/vxworks/ext/fs.rs
@@ -774,15 +774,6 @@ impl DirEntryExt for fs::DirEntry {
 ///
 /// The `dst` path will be a symbolic link pointing to the `src` path.
 ///
-/// # Note
-///
-/// On Windows, you must specify whether a symbolic link points to a file
-/// or directory.  Use `os::windows::fs::symlink_file` to create a
-/// symbolic link to a file, or `os::windows::fs::symlink_dir` to create a
-/// symbolic link to a directory.  Additionally, the process must have
-/// `SeCreateSymbolicLinkPrivilege` in order to be able to create a
-/// symbolic link.
-///
 /// # Examples
 ///
 /// ```no_run