clippy clean ups
This commit is contained in:
parent
1e248306a6
commit
8d81ee1f7e
@ -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;
|
||||
|
||||
@ -30,7 +30,6 @@ pub struct AppState {
|
||||
}
|
||||
|
||||
impl AppState {
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn new() -> Self {
|
||||
let sys = System::new(); // targeted refreshes per tick
|
||||
|
||||
Loading…
Reference in New Issue
Block a user