Skip to content

Commit

Permalink
Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
vE5li committed Jul 10, 2023
1 parent 0c1b123 commit 30c0ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/function/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub(crate) fn convert(

let mut builder = FunctionBuilder::default();

for (instruction, line_number) in instructions.into_iter().zip(line_info.into_iter()) {
for (instruction, line_number) in instructions.into_iter().zip(line_info) {
#[cfg(feature = "debug")]
println!("[{}] {:?}", builder.get_program_counter(), instruction);

Expand Down
2 changes: 1 addition & 1 deletion src/function/upcast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub(crate) fn upcast(
let mut builder = FunctionBuilder::default();
let mut constant_manager = ConstantManager { constants };

for (instruction, line_number) in instructions.into_iter().zip(line_info.into_iter()) {
for (instruction, line_number) in instructions.into_iter().zip(line_info) {
builder.set_line_number(line_number);

match instruction {
Expand Down

0 comments on commit 30c0ea9

Please sign in to comment.