Fix clippy lints

This commit is contained in:
Emil Fresk 2024-05-27 10:48:58 +02:00
parent 9989af1b97
commit 2efdef6029
7 changed files with 38 additions and 2 deletions

View file

@ -147,7 +147,7 @@ pub fn codegen(ctxt: Context, app: &App, analysis: &Analysis) -> TokenStream2 {
let priority = spawnee.args.priority;
let cfgs = &spawnee.cfgs;
// Store a copy of the task cfgs
task_cfgs = cfgs.clone();
task_cfgs.clone_from(cfgs);
let pend_interrupt = if priority > 0 {
let int_mod = interrupt_mod(app);