fmt: ran 'cargo fmt'.

This commit is contained in:
2025-06-29 01:43:31 +01:00
parent 21582f1297
commit 0528768947
4 changed files with 13 additions and 8 deletions
+3 -1
View File
@@ -39,7 +39,9 @@ impl std::fmt::Display for InstructionDecodeError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
Self::InvalidOpcode(code) => write!(f, "invalid opcode, got {code:x}")?,
Self::InvalidArgument(err) => write!(f, "invalid arguments, got an error {err}")?,
Self::InvalidArgument(err) => {
write!(f, "invalid arguments, got an error {err}")?
}
}
Ok(())