Skip to content

Commit 2eeb8f1

Browse files
Remove Windows details from Unix and VmWorks symlink() docstrings
This note is not relevant to other operating systems.
1 parent 7adeb2c commit 2eeb8f1

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

library/std/src/sys/unix/ext/fs.rs

-9
Original file line numberDiff line numberDiff line change
@@ -836,15 +836,6 @@ impl DirEntryExt for fs::DirEntry {
836836
///
837837
/// The `dst` path will be a symbolic link pointing to the `src` path.
838838
///
839-
/// # Note
840-
///
841-
/// On Windows, you must specify whether a symbolic link points to a file
842-
/// or directory. Use `os::windows::fs::symlink_file` to create a
843-
/// symbolic link to a file, or `os::windows::fs::symlink_dir` to create a
844-
/// symbolic link to a directory. Additionally, the process must have
845-
/// `SeCreateSymbolicLinkPrivilege` in order to be able to create a
846-
/// symbolic link.
847-
///
848839
/// # Examples
849840
///
850841
/// ```no_run

library/std/src/sys/vxworks/ext/fs.rs

-9
Original file line numberDiff line numberDiff line change
@@ -774,15 +774,6 @@ impl DirEntryExt for fs::DirEntry {
774774
///
775775
/// The `dst` path will be a symbolic link pointing to the `src` path.
776776
///
777-
/// # Note
778-
///
779-
/// On Windows, you must specify whether a symbolic link points to a file
780-
/// or directory. Use `os::windows::fs::symlink_file` to create a
781-
/// symbolic link to a file, or `os::windows::fs::symlink_dir` to create a
782-
/// symbolic link to a directory. Additionally, the process must have
783-
/// `SeCreateSymbolicLinkPrivilege` in order to be able to create a
784-
/// symbolic link.
785-
///
786777
/// # Examples
787778
///
788779
/// ```no_run

0 commit comments

Comments
 (0)