tui: Fix clippy issue

This commit is contained in:
Alexis Sellier
2023-03-21 13:19:38 +01:00
parent db8ec5735f
commit c51585dbf9
+1 -1
View File
@@ -30,7 +30,7 @@ pub fn labeled_container(
title: &str,
component: Box<dyn MockComponent>,
) -> Widget<LabeledContainer> {
let title = label(&format!(" {} ", title))
let title = label(&format!(" {title} "))
.foreground(theme.colors.default_fg)
.background(theme.colors.labeled_container_bg);
let spacer = label("");