clippy fix
This commit is contained in:
parent
120a3c59f4
commit
f93530fe30
|
@ -131,7 +131,7 @@ fn lower_process_statement(
|
|||
let next_expr_wire = lower_expression(ctx, module, &assig.expr)?;
|
||||
|
||||
rtlil::CaseRule {
|
||||
assign: vec![(next_sig.clone(), next_expr_wire)],
|
||||
assign: vec![(next_sig, next_expr_wire)],
|
||||
switches: vec![],
|
||||
}
|
||||
}
|
||||
|
@ -233,7 +233,7 @@ fn desugar_expression<'a>(expr: parser::Expression<'a>) -> parser::Expression<'a
|
|||
parser::Expression::Ident(_) => expr,
|
||||
parser::Expression::Literal(_) => expr,
|
||||
parser::Expression::Call(mut call) => {
|
||||
let new_args = call.args.into_iter().map(|argex| desugar_expression(argex)).collect();
|
||||
let new_args = call.args.into_iter().map(desugar_expression).collect();
|
||||
call.args = new_args;
|
||||
parser::Expression::Call(call)
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue