diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 462c06dcea26e..68e26d796537c 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -2994,7 +2994,7 @@ pub fn read_dir>(path: P) -> io::Result { /// 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