mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
Fix clippy lints
This commit is contained in:
parent
9989af1b97
commit
2efdef6029
7 changed files with 38 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue