From 7500e8816ef156f6797f34413dd1485de443b8f3 Mon Sep 17 00:00:00 2001 From: Sam M W Date: Fri, 21 Oct 2022 06:34:42 +0100 Subject: [PATCH] cargo clippy --fix --- src/cpu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu.rs b/src/cpu.rs index 7771c3a..751fcf9 100644 --- a/src/cpu.rs +++ b/src/cpu.rs @@ -208,7 +208,7 @@ impl CPU { } (Instruction::DEC, OpInput::UseAddress(addr)) => { - CPU::decrement(&mut self.memory.get_byte_mut_ref(addr), &mut self.registers.status); + CPU::decrement(self.memory.get_byte_mut_ref(addr), &mut self.registers.status); } (Instruction::DEY, OpInput::UseImplied) => {