Skip to content

Commit b7c933a

Browse files
committed
doc(std): fix typo lchown -> lchmod
1 parent f97b3c6 commit b7c933a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2994,7 +2994,7 @@ pub fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> {
29942994
/// When possible, permissions should be set at creation time instead.
29952995
///
29962996
/// # Rationale
2997-
/// POSIX does not specify an `lchown` function,
2997+
/// POSIX does not specify an `lchmod` function,
29982998
/// and symlinks can be followed regardless of what permission bits are set.
29992999
///
30003000
/// # Errors

0 commit comments

Comments
 (0)