tui: Fix clippy issue
This commit is contained in:
parent
db8ec5735f
commit
c51585dbf9
|
|
@ -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("");
|
||||
|
|
|
|||
Loading…
Reference in New Issue