mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
Cleanup
This commit is contained in:
parent
e0d4627e35
commit
82c9d75a06
1 changed files with 2 additions and 3 deletions
|
|
@ -227,11 +227,11 @@ pub fn codegen(ctxt: Context, app: &App, analysis: &Analysis) -> TokenStream2 {
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
|
|
||||||
module_items.push(quote!{
|
module_items.push(quote!(
|
||||||
#(#cfgs)*
|
#(#cfgs)*
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use super::#internal_spawn_ident as spawn;
|
pub use super::#internal_spawn_ident as spawn;
|
||||||
});
|
));
|
||||||
|
|
||||||
let tasks_on_same_executor: Vec<_> = app
|
let tasks_on_same_executor: Vec<_> = app
|
||||||
.software_tasks
|
.software_tasks
|
||||||
|
|
@ -239,7 +239,6 @@ pub fn codegen(ctxt: Context, app: &App, analysis: &Analysis) -> TokenStream2 {
|
||||||
.filter(|(_, t)| t.args.priority == priority)
|
.filter(|(_, t)| t.args.priority == priority)
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
|
|
||||||
let local_spawner = util::internal_task_ident(t, "LocalSpawner");
|
let local_spawner = util::internal_task_ident(t, "LocalSpawner");
|
||||||
let tasks = tasks_on_same_executor
|
let tasks = tasks_on_same_executor
|
||||||
.iter()
|
.iter()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue