Skip to content

Commit

Permalink
fix clippy arning in prover
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferret-san committed Nov 18, 2024
1 parent 5c0465f commit 8bf470d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbitrator/prover/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ pub unsafe extern "C" fn arbitrator_free_proof(proof: RustByteArray) {
#[no_mangle]
pub unsafe extern "C" fn arbitrator_get_opcode(mach: *mut Machine) -> u16 {
match (*mach).get_next_instruction() {
Some(instruction) => return instruction.opcode.repr(),
Some(instruction) => instruction.opcode.repr(),
None => panic!("Failed to get next opcode for Machine"),
}
}

0 comments on commit 8bf470d

Please sign in to comment.