Browse Source

fix all clippy warnings and run cargo fmt

pull/3/head
Murad 2 years ago
parent
commit
a81fc53454
Signed by: foxpy GPG Key ID: 78BE32418B0C8450
  1. 722
      src/cpu.rs
  2. 2
      src/main.rs

722
src/cpu.rs

File diff suppressed because it is too large

2
src/main.rs

@ -7,7 +7,7 @@ mod instruction;
use cpu::*; use cpu::*;
fn main() { fn main() {
let mut cpu = CPU::new(&[]); let mut cpu = Cpu::new(&[]);
loop { loop {
if cpu.step() { if cpu.step() {
break; break;

Loading…
Cancel
Save