summary refs log tree commit diff
path: root/library/std/src/fs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/fs.rs')
-rw-r--r--library/std/src/fs.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs
index e506b321c25..d5387e2e2b4 100644
--- a/library/std/src/fs.rs
+++ b/library/std/src/fs.rs
@@ -1409,8 +1409,7 @@ impl Permissions {
     /// Therefore the return value of this function cannot be relied upon
     /// to predict whether attempts to read or write the file will actually succeed.
     /// The [`PermissionsExt`] trait gives direct access to the permission bits but
-    /// also does not read ACLs. If you need to accurately know whether or not a file
-    /// is writable use the `access()` function from libc.
+    /// also does not read ACLs.
     ///
     /// [`PermissionsExt`]: crate::os::unix::fs::PermissionsExt
     ///