Skip to content

Commit

Permalink
Merge #1291
Browse files Browse the repository at this point in the history
1291: doc typo in fchmodat r=asomers a=edneville

fchmod should be fchmodat

Signed-off-by: ed neville <ed@s5h.net>

Co-authored-by: ed neville <ed@s5h.net>
  • Loading branch information
bors[bot] and edneville committed Aug 17, 2020
2 parents 96054b6 + 5eb5c30 commit 83db58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/stat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ pub enum FchmodatFlags {
/// If `flag` is `FchmodatFlags::NoFollowSymlink` and `path` names a symbolic link,
/// then the mode of the symbolic link is changed.
///
/// `fchmod(None, path, mode, FchmodatFlags::FollowSymlink)` is identical to
/// `fchmodat(None, path, mode, FchmodatFlags::FollowSymlink)` is identical to
/// a call `libc::chmod(path, mode)`. That's why `chmod` is unimplemented
/// in the `nix` crate.
///
Expand Down

0 comments on commit 83db58c

Please sign in to comment.