diff --git a/src/m68k.rs b/src/m68k.rs index 5a980fe..2a9b1a3 100644 --- a/src/m68k.rs +++ b/src/m68k.rs @@ -36,11 +36,11 @@ pub enum BusErrorCause { impl Display for BusErrorCause { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { - BusErrorCause::ReadingByte => f.write_str("reading byte from"), - BusErrorCause::ReadingWord => f.write_str("reading word from"), - BusErrorCause::WritingByte => f.write_str("writing byte to"), - BusErrorCause::WritingWord => f.write_str("writing word to"), - BusErrorCause::ReadingInstruction => f.write_str("reading instruction at"), + Self::ReadingByte => f.write_str("reading byte from"), + Self::ReadingWord => f.write_str("reading word from"), + Self::WritingByte => f.write_str("writing byte to"), + Self::WritingWord => f.write_str("writing word to"), + Self::ReadingInstruction => f.write_str("reading instruction at"), } } }