diff --git a/src/main.rs b/src/main.rs index 83ee317..8dc46bf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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(),