diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-09-13 20:21:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-13 20:21:16 +0200 |
| commit | e460f8508efb9551859ed7499fa011e17006ea32 (patch) | |
| tree | 345b43ded262cbee09c7c76137abbd5cdbf9dda3 /library/std | |
| parent | 3d0ac15958245f00f9f5d8a81ad619f5b4e49bca (diff) | |
| parent | 2eeb8f18eb493a8ec3b830aabb3e7f1723953bc0 (diff) | |
| download | rust-e460f8508efb9551859ed7499fa011e17006ea32.tar.gz rust-e460f8508efb9551859ed7499fa011e17006ea32.zip | |
Rollup merge of #76651 - nicholasbishop:bishop-remove-windows-note, r=Mark-Simulacrum
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.rs | 9 | ||||
| -rw-r--r-- | library/std/src/sys/vxworks/ext/fs.rs | 9 |
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 |
