mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
Remove Windows details from Unix and VmWorks symlink() docstrings
This note is not relevant to other operating systems.
This commit is contained in:
parent
7adeb2c795
commit
2eeb8f18eb
@ -836,15 +836,6 @@ impl DirEntryExt for fs::DirEntry {
|
|||||||
///
|
///
|
||||||
/// The `dst` path will be a symbolic link pointing to the `src` path.
|
/// 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
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```no_run
|
/// ```no_run
|
||||||
|
@ -774,15 +774,6 @@ impl DirEntryExt for fs::DirEntry {
|
|||||||
///
|
///
|
||||||
/// The `dst` path will be a symbolic link pointing to the `src` path.
|
/// 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
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```no_run
|
/// ```no_run
|
||||||
|
Loading…
Reference in New Issue
Block a user