Clippy fix

This commit is contained in:
Rerumu 2023-11-03 11:03:07 -04:00
parent 6ca09ca5cd
commit 0a303e1a4b
2 changed files with 2 additions and 2 deletions

View File

@ -363,7 +363,7 @@ const fn type_to_zero(typ: ValType) -> &'static str {
}
}
fn write_variable_list(ast: &FuncData, mng: &mut Manager, w: &mut dyn Write) -> Result<()> {
fn write_variable_list(ast: &FuncData, mng: &Manager, w: &mut dyn Write) -> Result<()> {
let mut locals = ast.local_data().iter().copied();
let num_local = mng.num_local() - ast.num_param();

View File

@ -382,7 +382,7 @@ const fn type_to_zero(typ: ValType) -> &'static str {
}
}
fn write_variable_list(ast: &FuncData, mng: &mut Manager, w: &mut dyn Write) -> Result<()> {
fn write_variable_list(ast: &FuncData, mng: &Manager, w: &mut dyn Write) -> Result<()> {
let mut locals = ast.local_data().iter().copied();
let num_local = mng.num_local() - ast.num_param();