Rollup merge of #34941 - qolop:patch-2, r=apasel422

Fix typo (privledge->privilege)
This commit is contained in:
Eduard-Mihai Burtescu 2016-08-14 20:29:47 +03:00 committed by GitHub
commit 9d1900b417

View File

@ -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
///