fix(benchmark): clear up progress_gauge fn signature

Otherwise there is a compiler error.
This commit is contained in:
Alvaro Moran 2025-09-03 16:57:55 +02:00
parent c4cd9c198d
commit 1ec3b6a62a

View File

@ -434,7 +434,7 @@ impl Data {
}
/// Progress bar
fn progress_gauge(title: &str, label: String, progress: f64, color: Color) -> Gauge {
fn progress_gauge(title: &str, label: String, progress: f64, color: Color) -> Gauge<'_> {
Gauge::default()
.block(Block::default().title(title).borders(Borders::ALL))
.gauge_style(Style::default().fg(color))