mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 13:55:23 +01:00
Update tests for - Rename is_local_task to just local_task and allow omitting the value
This commit is contained in:
parent
1e8c175c51
commit
025460b45f
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ mod app {
|
|||
(Shared {}, Local {})
|
||||
}
|
||||
|
||||
#[task(priority = 1, is_local_task = true)]
|
||||
#[task(priority = 1, local_task)]
|
||||
async fn foo(_cx: foo::Context) {}
|
||||
|
||||
#[task(priority = 2)]
|
||||
|
|
|
|||
|
|
@ -16,6 +16,6 @@ mod app {
|
|||
(Shared {}, Local {})
|
||||
}
|
||||
|
||||
#[task(priority = 1, is_local_task = true)]
|
||||
#[task(priority = 1, local_task)]
|
||||
async fn foo(_cx: foo::Context) {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue