Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Granddave committed Dec 30, 2023
1 parent faa654c commit fe15389
Show file tree
Hide file tree
Showing 2 changed files with 242 additions and 153 deletions.
2 changes: 1 addition & 1 deletion src/assembler/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ impl Compiler {

bytes.push(match OPCODE_MAPPING.find_opcode(ins.ins) {
Some(bytes) => bytes,
None => return Err(CompilerError::InvalidOpcode(ins.ins.clone())),
None => return Err(CompilerError::InvalidOpcode(ins.ins)),
});

bytes.extend(match ins.operand {
Expand Down
Loading

0 comments on commit fe15389

Please sign in to comment.