From b7c933a495a42d684f7acb493caeee3f3c4e87bf Mon Sep 17 00:00:00 2001 From: binarycat Date: Fri, 2 May 2025 12:13:40 -0500 Subject: [PATCH] doc(std): fix typo lchown -> lchmod --- library/std/src/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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