clippy clean ups

This commit is contained in:
jasonwitty 2025-08-11 23:37:50 -07:00
parent 1e248306a6
commit 8d81ee1f7e
5 changed files with 7 additions and 8 deletions

View File

@ -22,7 +22,7 @@ fn fmt_bytes(b: u64) -> String {
} else { } else {
format!("{b}B") format!("{b}B")
} }
} }
pub fn draw_gpu(f: &mut ratatui::Frame<'_>, area: Rect, m: Option<&Metrics>) { pub fn draw_gpu(f: &mut ratatui::Frame<'_>, area: Rect, m: Option<&Metrics>) {
let mut area = area; let mut area = area;

View File

@ -30,7 +30,6 @@ pub struct AppState {
} }
impl AppState { impl AppState {
#[allow(dead_code)] #[allow(dead_code)]
pub fn new() -> Self { pub fn new() -> Self {
let sys = System::new(); // targeted refreshes per tick let sys = System::new(); // targeted refreshes per tick