From 5eb5c302d9f702c4826a553e3e3f7c30bf485db5 Mon Sep 17 00:00:00 2001 From: ed neville Date: Thu, 13 Aug 2020 19:55:31 +0100 Subject: doc typo in fchmodat fchmod should be fchmodat Signed-off-by: ed neville --- src/sys/stat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sys/stat.rs b/src/sys/stat.rs index c3915b09..df81a2cb 100644 --- a/src/sys/stat.rs +++ b/src/sys/stat.rs @@ -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. /// -- cgit v1.2.3