Skip to content

Commit 53469cf

Browse files
authored
fix typo in documentation for std::fs::Permissions
1 parent 2d64f22 commit 53469cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ impl Permissions {
14061406
/// On Unix-based platforms this checks if *any* of the owner, group or others
14071407
/// write permission bits are set. It does not check if the current
14081408
/// 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
1409+
/// Therefore even if this returns false you may not be able to write to the
14101410
/// file, and vice versa. The [`PermissionsExt`] trait gives direct access
14111411
/// to the permission bits but also does not read ACLs. If you need to
14121412
/// accurately know whether or not a file is writable use the `access()`

0 commit comments

Comments
 (0)