File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ pub(crate) struct Durations<'a> {
40
40
percentiles_width : u16 ,
41
41
}
42
42
43
- impl < ' a > Widget for Durations < ' a > {
43
+ impl Widget for Durations < ' _ > {
44
44
fn render ( self , area : ratatui:: layout:: Rect , buf : & mut ratatui:: buffer:: Buffer ) {
45
45
// Only split the durations area in half if we're also drawing a
46
46
// sparkline. We require UTF-8 to draw the sparkline and also enough width.
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ pub(crate) struct HistogramMetadata {
44
44
pub ( crate ) highest_outlier : Option < Duration > ,
45
45
}
46
46
47
- impl < ' a > Default for MiniHistogram < ' a > {
47
+ impl Default for MiniHistogram < ' _ > {
48
48
fn default ( ) -> Self {
49
49
MiniHistogram {
50
50
block : None ,
@@ -57,7 +57,7 @@ impl<'a> Default for MiniHistogram<'a> {
57
57
}
58
58
}
59
59
60
- impl < ' a > Widget for MiniHistogram < ' a > {
60
+ impl Widget for MiniHistogram < ' _ > {
61
61
fn render ( mut self , area : ratatui:: layout:: Rect , buf : & mut ratatui:: buffer:: Buffer ) {
62
62
let inner_area = match self . block . take ( ) {
63
63
Some ( b) => {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ pub(crate) struct Percentiles<'a> {
21
21
title : & ' a str ,
22
22
}
23
23
24
- impl < ' a > Widget for Percentiles < ' a > {
24
+ impl Widget for Percentiles < ' _ > {
25
25
fn render ( self , area : ratatui:: layout:: Rect , buf : & mut ratatui:: buffer:: Buffer ) {
26
26
let inner = Paragraph :: new ( self . make_percentiles_inner ( ) )
27
27
. block ( self . styles . border_block ( ) . title ( self . title ) ) ;
You can’t perform that action at this time.
0 commit comments