about summary refs log tree commit diff
path: root/src/libstd/env.rs
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2016-08-14 20:29:47 +0300
committerGitHub <noreply@github.com>2016-08-14 20:29:47 +0300
commit9d1900b417a8425c887b1007df6b1c4eaebddb08 (patch)
tree769f8def6f5e37845c3cf1e4ede295c55b38b330 /src/libstd/env.rs
parent2e29b126b60a19f491e7f1845dd98df50700e37a (diff)
parent629f2aafcfb81c099816e7777650824676595a13 (diff)
downloadrust-9d1900b417a8425c887b1007df6b1c4eaebddb08.tar.gz
rust-9d1900b417a8425c887b1007df6b1c4eaebddb08.zip
Rollup merge of #34941 - qolop:patch-2, r=apasel422
Fix typo (privledge->privilege)
Diffstat (limited to 'src/libstd/env.rs')
-rw-r--r--src/libstd/env.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/env.rs b/src/libstd/env.rs
index d6d62ce79d4..753411991ab 100644
--- a/src/libstd/env.rs
+++ b/src/libstd/env.rs
@@ -526,10 +526,10 @@ pub fn temp_dir() -> PathBuf {
 /// Ok("/home/alex/bar")
 /// ```
 ///
-/// This sort of behavior has been known to [lead to privledge escalation] when
+/// This sort of behavior has been known to [lead to privilege escalation] when
 /// used incorrectly, for example.
 ///
-/// [lead to privledge escalation]: http://securityvulns.com/Wdocument183.html
+/// [lead to privilege escalation]: http://securityvulns.com/Wdocument183.html
 ///
 /// # Examples
 ///