diff options
Diffstat (limited to 'src/widgets/process_table/sort_table.rs')
-rw-r--r-- | src/widgets/process_table/sort_table.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/process_table/sort_table.rs b/src/widgets/process_table/sort_table.rs index 0a0e1e1c..30adb753 100644 --- a/src/widgets/process_table/sort_table.rs +++ b/src/widgets/process_table/sort_table.rs @@ -16,7 +16,7 @@ impl ColumnHeader for SortTableColumn { } impl DataToCell<SortTableColumn> for &'static str { - fn to_cell<'a>(&'a self, _column: &SortTableColumn, calculated_width: u16) -> Option<Text<'a>> { + fn to_cell(&self, _column: &SortTableColumn, calculated_width: u16) -> Option<Text<'_>> { if calculated_width == 0 { return None; } @@ -33,7 +33,7 @@ impl DataToCell<SortTableColumn> for &'static str { } impl DataToCell<SortTableColumn> for Cow<'static, str> { - fn to_cell<'a>(&'a self, _column: &SortTableColumn, calculated_width: u16) -> Option<Text<'a>> { + fn to_cell(&self, _column: &SortTableColumn, calculated_width: u16) -> Option<Text<'_>> { if calculated_width == 0 { return None; } |