From c51585dbf9847fffbbc05c4b416360391db4eeb4 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Tue, 21 Mar 2023 13:19:38 +0100 Subject: [PATCH] tui: Fix clippy issue --- radicle-tui/src/ui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicle-tui/src/ui.rs b/radicle-tui/src/ui.rs index bbcb2091..c7829a95 100644 --- a/radicle-tui/src/ui.rs +++ b/radicle-tui/src/ui.rs @@ -30,7 +30,7 @@ pub fn labeled_container( title: &str, component: Box, ) -> Widget { - let title = label(&format!(" {} ", title)) + let title = label(&format!(" {title} ")) .foreground(theme.colors.default_fg) .background(theme.colors.labeled_container_bg); let spacer = label("");