mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 14:25:18 +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)*
|
||||
#[doc(inline)]
|
||||
pub use super::#internal_spawn_ident as spawn;
|
||||
});
|
||||
));
|
||||
|
||||
let tasks_on_same_executor: Vec<_> = app
|
||||
.software_tasks
|
||||
|
|
@ -239,7 +239,6 @@ pub fn codegen(ctxt: Context, app: &App, analysis: &Analysis) -> TokenStream2 {
|
|||
.filter(|(_, t)| t.args.priority == priority)
|
||||
.collect();
|
||||
|
||||
|
||||
let local_spawner = util::internal_task_ident(t, "LocalSpawner");
|
||||
let tasks = tasks_on_same_executor
|
||||
.iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue