about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorPatrick McCann <qolop@users.noreply.github.com>2016-07-20 16:43:53 -0400
committerGitHub <noreply@github.com>2016-07-20 16:43:53 -0400
commite91b625e86794462c54c3f1bfaeebb2acb709bf9 (patch)
tree4adb65e1354c169fd298e8222e9cd54445fa802a /src/libstd
parent9d5965a5e899b03a34a94bcecfbc58c893b238e7 (diff)
downloadrust-e91b625e86794462c54c3f1bfaeebb2acb709bf9.tar.gz
rust-e91b625e86794462c54c3f1bfaeebb2acb709bf9.zip
Fix typo (privledge->privilege)
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/env.rs b/src/libstd/env.rs
index 95aa6468dd9..2c0de960561 100644
--- a/src/libstd/env.rs
+++ b/src/libstd/env.rs
@@ -526,7 +526,7 @@ 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