From c756cd4a592423f4e736a6644d0303e0cf2a5e43 Mon Sep 17 00:00:00 2001 From: Brian Chowns Date: Mon, 9 Oct 2023 21:33:38 -0400 Subject: [PATCH] Fix 'named argument not used by name' warning. --- src/components/help.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/help.rs b/src/components/help.rs index 90a54fb..3772cad 100644 --- a/src/components/help.rs +++ b/src/components/help.rs @@ -151,7 +151,7 @@ impl HelpComponent { processed += 1; txt.push(Spans::from(Span::styled( - format!(" {}{:w$}", command_info.text.name, w = width), + format!(" {}{w:w$}", command_info.text.name, w = width), if is_selected { Style::default().bg(Color::Blue) } else {