From e91b625e86794462c54c3f1bfaeebb2acb709bf9 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Wed, 20 Jul 2016 16:43:53 -0400 Subject: [PATCH 1/2] Fix typo (privledge->privilege) --- src/libstd/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/env.rs b/src/libstd/env.rs index 95aa6468dd9a6..2c0de96056149 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 From 629f2aafcfb81c099816e7777650824676595a13 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Thu, 11 Aug 2016 19:04:11 -0400 Subject: [PATCH 2/2] Fix typo Didn't see this one at first. --- src/libstd/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/env.rs b/src/libstd/env.rs index 2c0de96056149..75e4d271bf8b5 100644 --- a/src/libstd/env.rs +++ b/src/libstd/env.rs @@ -529,7 +529,7 @@ pub fn temp_dir() -> PathBuf { /// 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 ///