aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Młynarczyk <jkbmlynarczyk@gmail.com>2022-01-08 16:36:59 +1100
committerGitHub <noreply@github.com>2022-01-08 16:36:59 +1100
commit20f1c396d5d32d3a6b15faa31b01bee5b7855b27 (patch)
tree09a8b3ddec1a807d74fff042db0bade36d717f77
parent2c921ac67c2e16f8d473a5825c7e29c681753f92 (diff)
Fix the locals.rs comment
I believe that is a typo s/shared/local_to_bar
-rw-r--r--examples/locals.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/locals.rs b/examples/locals.rs
index eeb7fb7..aa5d0fe 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;