remove potentially misleading sentence about libc::access
This commit is contained in:
parent
0df002a2e2
commit
b353765120
@ -1409,8 +1409,7 @@ impl Permissions {
|
|||||||
/// Therefore the return value of this function cannot be relied upon
|
/// Therefore the return value of this function cannot be relied upon
|
||||||
/// to predict whether attempts to read or write the file will actually succeed.
|
/// to predict whether attempts to read or write the file will actually succeed.
|
||||||
/// The [`PermissionsExt`] trait gives direct access to the permission bits but
|
/// 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
|
/// also does not read ACLs.
|
||||||
/// is writable use the `access()` function from libc.
|
|
||||||
///
|
///
|
||||||
/// [`PermissionsExt`]: crate::os::unix::fs::PermissionsExt
|
/// [`PermissionsExt`]: crate::os::unix::fs::PermissionsExt
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user