We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d64f22 commit 53469cfCopy full SHA for 53469cf
library/std/src/fs.rs
@@ -1406,7 +1406,7 @@ impl Permissions {
1406
/// On Unix-based platforms this checks if *any* of the owner, group or others
1407
/// write permission bits are set. It does not check if the current
1408
/// user is in the file's assigned group. It also does not check ACLs.
1409
- /// Therefore even if this returns true you may not be able to write to the
+ /// Therefore even if this returns false you may not be able to write to the
1410
/// file, and vice versa. The [`PermissionsExt`] trait gives direct access
1411
/// to the permission bits but also does not read ACLs. If you need to
1412
/// accurately know whether or not a file is writable use the `access()`
0 commit comments