clippy clean ups

This commit is contained in:
2025-08-11 23:37:50 -07:00
parent 1e248306a6
commit 8d81ee1f7e
5 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ fn fmt_bytes(b: u64) -> String {
} else {
format!("{b}B")
}
}
}
pub fn draw_gpu(f: &mut ratatui::Frame<'_>, area: Rect, m: Option<&Metrics>) {
let mut area = area;
-1
View File
@@ -30,7 +30,6 @@ pub struct AppState {
}
impl AppState {
#[allow(dead_code)]
pub fn new() -> Self {
let sys = System::new(); // targeted refreshes per tick