Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvsadana committed Aug 11, 2023
1 parent f91b3dd commit e3e7e37
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cairo-vm-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,7 @@ fn start_tracer(cairo_runner: &CairoRunner, vm: &VirtualMachine) -> Result<(), T
let instruction_locations = cairo_runner
.get_program()
.get_relocated_instruction_locations(relocation_table.as_ref());
let debug_info = match instruction_locations {
Some(instruction_locations) => Some(DebugInfo::new(instruction_locations)),
None => None,
};
let debug_info = instruction_locations.map(DebugInfo::new);

let relocated_trace = vm
.get_relocated_trace()
Expand Down

0 comments on commit e3e7e37

Please sign in to comment.