Skip to content

Commit a4a60d0

Browse files
authored
Update fs.rs
1 parent 519e517 commit a4a60d0

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
@@ -3097,7 +3097,7 @@ pub fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> {
30973097
/// On UNIX-like systems, this function will update the permission bits
30983098
/// of the file pointed to by the symlink.
30993099
///
3100-
/// Note that this behavior can lead to privalage escalation vulnerabilites,
3100+
/// Note that this behavior can lead to privalage escalation vulnerabilities,
31013101
/// where the ability to create a symlink in one directory allows you to
31023102
/// cause the permissions of another file or directory to be modified.
31033103
///

0 commit comments

Comments
 (0)