Skip to content

Commit

Permalink
remove potentially misleading sentence about libc::access
Browse files Browse the repository at this point in the history
  • Loading branch information
squell committed Feb 22, 2024
1 parent 0df002a commit b353765
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions library/std/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down

0 comments on commit b353765

Please sign in to comment.