Skip to content

Commit bda3b9a

Browse files
committed
Merge remote-tracking branch 'alurm/patch-1' into manual-rollup
2 parents b313906 + 9fab380 commit bda3b9a

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
@@ -3119,7 +3119,7 @@ pub fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> {
31193119
/// On UNIX-like systems, this function will update the permission bits
31203120
/// of the file pointed to by the symlink.
31213121
///
3122-
/// Note that this behavior can lead to privalage escalation vulnerabilities,
3122+
/// Note that this behavior can lead to privilege escalation vulnerabilities,
31233123
/// where the ability to create a symlink in one directory allows you to
31243124
/// cause the permissions of another file or directory to be modified.
31253125
///

0 commit comments

Comments
 (0)