From d15489934a62c024b14eb09af1069c4a81fae857 Mon Sep 17 00:00:00 2001 From: Murad Date: Wed, 9 Feb 2022 17:08:52 +0300 Subject: [PATCH] fix clippy warning --- src/cpu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu.rs b/src/cpu.rs index b3af4dc..7f134f7 100644 --- a/src/cpu.rs +++ b/src/cpu.rs @@ -397,7 +397,7 @@ impl Cpu { println!( "| 0x{:X} {:02X}|{:02X}|{:02X}|{:02X} |", i * 4, - self.data[i * 4 + 0], + self.data[i * 4], self.data[i * 4 + 1], self.data[i * 4 + 2], self.data[i * 4 + 3]