tui: Fix clippy issue
This commit is contained in:
parent
db8ec5735f
commit
c51585dbf9
|
|
@ -30,7 +30,7 @@ pub fn labeled_container(
|
||||||
title: &str,
|
title: &str,
|
||||||
component: Box<dyn MockComponent>,
|
component: Box<dyn MockComponent>,
|
||||||
) -> Widget<LabeledContainer> {
|
) -> Widget<LabeledContainer> {
|
||||||
let title = label(&format!(" {} ", title))
|
let title = label(&format!(" {title} "))
|
||||||
.foreground(theme.colors.default_fg)
|
.foreground(theme.colors.default_fg)
|
||||||
.background(theme.colors.labeled_container_bg);
|
.background(theme.colors.labeled_container_bg);
|
||||||
let spacer = label("");
|
let spacer = label("");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue