From 20f1c396d5d32d3a6b15faa31b01bee5b7855b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20M=C5=82ynarczyk?= Date: Sat, 8 Jan 2022 16:36:59 +1100 Subject: [PATCH] Fix the locals.rs comment I believe that is a typo s/shared/local_to_bar --- examples/locals.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/locals.rs b/examples/locals.rs index eeb7fb75d1..aa5d0fee30 100644 --- a/examples/locals.rs +++ b/examples/locals.rs @@ -72,7 +72,7 @@ mod app { hprintln!("foo: local_to_foo = {}", local_to_foo).unwrap(); } - // `shared` can only be accessed from this context + // `local_to_bar` can only be accessed from this context #[task(local = [local_to_bar])] fn bar(cx: bar::Context) { let local_to_bar = cx.local.local_to_bar;