doc(std): fix typo lchown -> lchmod
This commit is contained in:
parent
f97b3c6044
commit
b7c933a495
1 changed files with 1 additions and 1 deletions
|
|
@ -2994,7 +2994,7 @@ pub fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> {
|
|||
/// When possible, permissions should be set at creation time instead.
|
||||
///
|
||||
/// # Rationale
|
||||
/// POSIX does not specify an `lchown` function,
|
||||
/// POSIX does not specify an `lchmod` function,
|
||||
/// and symlinks can be followed regardless of what permission bits are set.
|
||||
///
|
||||
/// # Errors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue