Skip to content

Commit 5eb5c30

Browse files
committed
doc typo in fchmodat
fchmod should be fchmodat Signed-off-by: ed neville <[email protected]>
1 parent 96054b6 commit 5eb5c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/stat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ pub enum FchmodatFlags {
150150
/// If `flag` is `FchmodatFlags::NoFollowSymlink` and `path` names a symbolic link,
151151
/// then the mode of the symbolic link is changed.
152152
///
153-
/// `fchmod(None, path, mode, FchmodatFlags::FollowSymlink)` is identical to
153+
/// `fchmodat(None, path, mode, FchmodatFlags::FollowSymlink)` is identical to
154154
/// a call `libc::chmod(path, mode)`. That's why `chmod` is unimplemented
155155
/// in the `nix` crate.
156156
///

0 commit comments

Comments
 (0)