chore: make clippy happy

This commit is contained in:
2021-03-16 01:05:13 -05:00
parent bfde24cc8d
commit 19f642eafe
8 changed files with 90 additions and 88 deletions

View File

@@ -1,6 +1,6 @@
use super::bus::Bus;
use super::instruction::{Cycles, Instruction};
use super::ppu::PPU;
use super::ppu::Ppu;
use bitfield::bitfield;
use std::{
fmt::{Display, Formatter, Result as FmtResult},
@@ -130,7 +130,7 @@ impl Cpu {
}
impl Cpu {
pub fn get_ppu(&mut self) -> &mut PPU {
pub fn get_ppu(&mut self) -> &mut Ppu {
&mut self.bus.ppu
}
}