Skip to content

Commit b353765

Browse files
committed
remove potentially misleading sentence about libc::access
1 parent 0df002a commit b353765

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/std/src/fs.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1409,8 +1409,7 @@ impl Permissions {
14091409
/// Therefore the return value of this function cannot be relied upon
14101410
/// to predict whether attempts to read or write the file will actually succeed.
14111411
/// The [`PermissionsExt`] trait gives direct access to the permission bits but
1412-
/// also does not read ACLs. If you need to accurately know whether or not a file
1413-
/// is writable use the `access()` function from libc.
1412+
/// also does not read ACLs.
14141413
///
14151414
/// [`PermissionsExt`]: crate::os::unix::fs::PermissionsExt
14161415
///

0 commit comments

Comments
 (0)