Skip to content

Commit db25536

Browse files
authored
Rollup merge of rust-lang#34941 - qolop:patch-2, r=apasel422
Fix typo (privledge->privilege)
2 parents 2e29b12 + 629f2aa commit db25536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/env.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -526,10 +526,10 @@ pub fn temp_dir() -> PathBuf {
526526
/// Ok("/home/alex/bar")
527527
/// ```
528528
///
529-
/// This sort of behavior has been known to [lead to privledge escalation] when
529+
/// This sort of behavior has been known to [lead to privilege escalation] when
530530
/// used incorrectly, for example.
531531
///
532-
/// [lead to privledge escalation]: http://securityvulns.com/Wdocument183.html
532+
/// [lead to privilege escalation]: http://securityvulns.com/Wdocument183.html
533533
///
534534
/// # Examples
535535
///

0 commit comments

Comments
 (0)