Skip to content

Commit 0a1278a

Browse files
committed
Typo
1 parent 5b698a1 commit 0a1278a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_passes/rvalue_promotion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ fn check_expr<'a, 'tcx>(v: &mut CheckCrateVisitor<'a, 'tcx>, e: &hir::Expr, node
291291

292292
// References to a static that are themselves within a static
293293
// are inherently promotable with the exception
294-
// of "#[thread_loca]" statics, which may not
294+
// of "#[thread_local]" statics, which may not
295295
// outlive the current function
296296
Def::Static(did, _) => {
297297

0 commit comments

Comments
 (0)