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.
2 parents 9d72651 + 9fab380 commit 211339fCopy full SHA for 211339f
library/std/src/fs.rs
@@ -3119,7 +3119,7 @@ pub fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> {
3119
/// On UNIX-like systems, this function will update the permission bits
3120
/// of the file pointed to by the symlink.
3121
///
3122
-/// Note that this behavior can lead to privalage escalation vulnerabilities,
+/// Note that this behavior can lead to privilege escalation vulnerabilities,
3123
/// where the ability to create a symlink in one directory allows you to
3124
/// cause the permissions of another file or directory to be modified.
3125
0 commit comments