Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger committed Nov 7, 2024
1 parent 16a6690 commit dd51b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/brainfuck_vm/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ impl TryFrom<u8> for InstructionType {

fn try_from(value: u8) -> Result<Self, Self::Error> {
Self::from_str(&(value as char).to_string())
.map_err(|_| InstructionError::Conversion(value as char))
.map_err(|()| InstructionError::Conversion(value as char))
}
}

Expand Down

0 comments on commit dd51b75

Please sign in to comment.