Skip to content

Commit d2aad4e

Browse files
committed
Typo
1 parent 12255d6 commit d2aad4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_passes/rvalue_promotion.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ fn check_expr<'a, 'tcx>(v: &mut CheckCrateVisitor<'a, 'tcx>, e: &hir::Expr, node
296296

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

0 commit comments

Comments
 (0)