clippy clean ups
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user