Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger committed Nov 13, 2024
1 parent bdb8c1f commit 28e125a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/brainfuck_prover/src/components/instruction/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ impl From<(Vec<Registers>, &ProgramMemory)> for InstructionTable {
let mut sorted_registers = [program, execution_trace].concat();
sorted_registers.sort_by_key(|r| (r.ip, r.clk));

let instruction_rows: Vec<InstructionTableRow> =
sorted_registers.iter().map(Into::into).collect();
let instruction_rows = sorted_registers.iter().map(Into::into).collect();

let mut instruction_table = Self::new();
instruction_table.add_rows(instruction_rows);
Expand Down

0 comments on commit 28e125a

Please sign in to comment.