Skip to content

Commit

Permalink
fmt clippy update
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Sep 10, 2023
1 parent c3658ac commit 47c6d46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
5 changes: 1 addition & 4 deletions src/gameboy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ pub struct Gameboy {

pub use self::Target::{GameBoy, GameBoyColor, SuperGameBoy};

#[derive(PartialEq, Eq, Debug, Copy, Clone)]
#[derive(Default)]
#[derive(PartialEq, Eq, Debug, Copy, Clone, Default)]
pub enum RenderMode {
#[cfg(not(target_arch = "wasm32"))]
#[default]
Expand All @@ -21,8 +20,6 @@ pub enum RenderMode {
WebAssembly,
}



#[derive(PartialEq, Eq, Debug, Copy, Clone)]
pub enum Target {
GameBoy,
Expand Down
8 changes: 2 additions & 6 deletions src/mbc/mbc0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ impl MBC for MBC0 {
fn readram(&self, _a: u16) -> u8 {
0
}
fn writerom(&mut self, _a: u16, _v: u8) {

}
fn writeram(&mut self, _a: u16, _v: u8) {

}
fn writerom(&mut self, _a: u16, _v: u8) {}
fn writeram(&mut self, _a: u16, _v: u8) {}
}

0 comments on commit 47c6d46

Please sign in to comment.