mirror of
https://github.com/danog/ytop.git
synced 2024-11-30 04:29:10 +01:00
fix clippy lint
This commit is contained in:
parent
3b2546afff
commit
9e7835d10f
@ -120,6 +120,7 @@ impl UpdatableWidget for DiskWidget<'_> {
|
||||
|
||||
// TODO: this is only a temporary workaround until we fix the table column resizing
|
||||
// https://github.com/cjbassi/ytop/issues/23
|
||||
#[allow(clippy::all)]
|
||||
fn custom_column_sizing(width: u16) -> Vec<Constraint> {
|
||||
let width = width - 2;
|
||||
if width >= 39 + 5 {
|
||||
|
Loading…
Reference in New Issue
Block a user