mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +01:00
Fix the locals.rs comment
I believe that is a typo s/shared/local_to_bar
This commit is contained in:
parent
2c921ac67c
commit
20f1c396d5
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ mod app {
|
||||||
hprintln!("foo: local_to_foo = {}", local_to_foo).unwrap();
|
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])]
|
#[task(local = [local_to_bar])]
|
||||||
fn bar(cx: bar::Context) {
|
fn bar(cx: bar::Context) {
|
||||||
let local_to_bar = cx.local.local_to_bar;
|
let local_to_bar = cx.local.local_to_bar;
|
||||||
|
|
Loading…
Reference in a new issue