diff options
| author | binarycat <binarycat@envs.net> | 2025-05-02 12:13:40 -0500 |
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2025-05-02 12:13:40 -0500 |
| commit | b7c933a495a42d684f7acb493caeee3f3c4e87bf (patch) | |
| tree | ea1428338cc845530ce6e6623d624569b4b568b2 /library/std/src | |
| parent | f97b3c6044a67e0b5d0d0891ca3a6c5d982b2285 (diff) | |
| download | rust-b7c933a495a42d684f7acb493caeee3f3c4e87bf.tar.gz rust-b7c933a495a42d684f7acb493caeee3f3c4e87bf.zip | |
doc(std): fix typo lchown -> lchmod
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 462c06dcea2..68e26d79653 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -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 |
