Skip to content

Commit

Permalink
ui: Fix linting errors in ui code
Browse files Browse the repository at this point in the history
These were introduced with a new rust update.
  • Loading branch information
Granddave committed Jul 5, 2024
1 parent 4c0f4c0 commit 787e5df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/emulator/tui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ pub fn exec(bytes: &[u8], program_start: u16) -> anyhow::Result<()> {
match tui.events.next()? {
Event::Tick => {}
Event::Key(key_event) => update(&mut app, key_event),
Event::Mouse(_) => {}
Event::Resize(_, _) => {}
Event::Mouse(_mouse_event) => {}
Event::Resize(_w, _h) => {}
};
}

Expand Down
2 changes: 1 addition & 1 deletion src/emulator/tui/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub struct App {
pub disassembly_frame_height: usize,

pub memory_page_to_display: usize,
pub memory_frame_height: usize,
pub _memory_frame_height: usize,

/// State of the CPU
state: EmulationState,
Expand Down

0 comments on commit 787e5df

Please sign in to comment.