fix unused

This commit is contained in:
Alex Janka 2023-01-16 11:35:07 +11:00
parent 9789826cf3
commit 289acd0070

View file

@ -1,10 +1,7 @@
#![feature(exclusive_range_pattern)]
use clap::Parser;
use std::{
fs,
io::{self, Read, Write},
};
use std::{fs, io};
/// Simple program to greet a person
#[derive(Parser, Debug)]
@ -171,7 +168,7 @@ fn main() {
let args = Args::parse();
let rom: ROM = fs::read(args.rom).expect("Could not load ROM");
let bootrom: ROM = fs::read(args.bootrom).expect("Could not load BootROM");
let _bootrom: ROM = fs::read(args.bootrom).expect("Could not load BootROM");
let mut cpu = CPU {
memory: Memory::init(rom),
state: State::default(),