summaryrefslogtreecommitdiffstats
path: root/src/widgets/cpu_graph.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/cpu_graph.rs')
-rw-r--r--src/widgets/cpu_graph.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/cpu_graph.rs b/src/widgets/cpu_graph.rs
index 46ec1fc4..2b555c10 100644
--- a/src/widgets/cpu_graph.rs
+++ b/src/widgets/cpu_graph.rs
@@ -76,7 +76,7 @@ impl CpuWidgetTableData {
}
impl DataToCell<CpuWidgetColumn> for CpuWidgetTableData {
- fn to_cell<'a>(&'a self, column: &CpuWidgetColumn, calculated_width: u16) -> Option<Text<'a>> {
+ fn to_cell(&self, column: &CpuWidgetColumn, calculated_width: u16) -> Option<Text<'_>> {
const CPU_TRUNCATE_BREAKPOINT: u16 = 5;
// This is a bit of a hack, but apparently we can avoid having to do any fancy checks