diff options
| author | Marc Schoolderman <marc@tweedegolf.com> | 2024-02-22 11:42:39 +0100 |
|---|---|---|
| committer | Marc Schoolderman <marc@tweedegolf.com> | 2024-02-22 11:42:39 +0100 |
| commit | b35376512031a24e236f66cbca8712ecea5e721c (patch) | |
| tree | 629bc06f9feed7c302e54a02f56d1251b74b04bb /library/std/src/fs.rs | |
| parent | 0df002a2e2001bf87f56d27ebf300daa4b574b6b (diff) | |
| download | rust-b35376512031a24e236f66cbca8712ecea5e721c.tar.gz rust-b35376512031a24e236f66cbca8712ecea5e721c.zip | |
remove potentially misleading sentence about libc::access
Diffstat (limited to 'library/std/src/fs.rs')
| -rw-r--r-- | library/std/src/fs.rs | 3 |
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 /// |
