Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
tui: Fix clippy issue
Alexis Sellier committed 3 years ago
commit 222b26dd109608e839d627edd038c5912561ae9a
parent b8e2335f71405bb231591ece0737ebabf28be6b2
1 file changed +1 -1
modified radicle-tui/src/ui.rs
@@ -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("");