mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
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>
This commit is contained in:
commit
4a16310443
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue