about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2018-02-06 14:04:42 +0100
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2018-03-08 08:34:17 +0100
commit0a1278aea808ddfe2178fdc49b96ccc0e9e608b6 (patch)
treeb76650677210b332b39a7611553ec42b245e4e8a /src
parent5b698a1040fcb866503fa71bf42f28315bce18d7 (diff)
downloadrust-0a1278aea808ddfe2178fdc49b96ccc0e9e608b6.tar.gz
rust-0a1278aea808ddfe2178fdc49b96ccc0e9e608b6.zip
Typo
Diffstat (limited to 'src')
-rw-r--r--src/librustc_passes/rvalue_promotion.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_passes/rvalue_promotion.rs b/src/librustc_passes/rvalue_promotion.rs
index 013bc07d8e9..bda351eed40 100644
--- a/src/librustc_passes/rvalue_promotion.rs
+++ b/src/librustc_passes/rvalue_promotion.rs
@@ -291,7 +291,7 @@ fn check_expr<'a, 'tcx>(v: &mut CheckCrateVisitor<'a, 'tcx>, e: &hir::Expr, node
 
                 // References to a static that are themselves within a static
                 // are inherently promotable with the exception
-                //  of "#[thread_loca]" statics, which may not
+                //  of "#[thread_local]" statics, which may not
                 // outlive the current function
                 Def::Static(did, _) => {