aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-01-08 06:14:24 +0000
committerGitHub <noreply@github.com>2022-01-08 06:14:24 +0000
commit4a16310443002ae8cca946d94775ca38172a7885 (patch)
tree09a8b3ddec1a807d74fff042db0bade36d717f77
parent2c921ac67c2e16f8d473a5825c7e29c681753f92 (diff)
parent20f1c396d5d32d3a6b15faa31b01bee5b7855b27 (diff)
Merge #585
585: Fix the locals.rs comment r=korken89 a=keadwen I believe that is a typo s/shared/local_to_bar Co-authored-by: Jakub Młynarczyk <jkbmlynarczyk@gmail.com>
-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;