summaryrefslogtreecommitdiffstats
path: root/src/components/data_table/data_type.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/data_table/data_type.rs')
-rw-r--r--src/components/data_table/data_type.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/data_table/data_type.rs b/src/components/data_table/data_type.rs
index 6fad3196..bbfceb8c 100644
--- a/src/components/data_table/data_type.rs
+++ b/src/components/data_table/data_type.rs
@@ -8,7 +8,7 @@ where
H: ColumnHeader,
{
/// Given data, a column, and its corresponding width, return what should be displayed in the [`DataTable`](super::DataTable).
- fn to_cell<'a>(&'a self, column: &H, calculated_width: u16) -> Option<Text<'a>>;
+ fn to_cell(&self, column: &H, calculated_width: u16) -> Option<Text<'_>>;
/// Apply styling to the generated [`Row`] of cells.
///