1
0
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:
Caleb Bassi 2020-02-28 15:28:01 -08:00
parent 3b2546afff
commit 9e7835d10f

View File

@ -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 {