Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
tui: Fix clippy issue
Alexis Sellier committed 3 years ago
commit c51585dbf9847fffbbc05c4b416360391db4eeb4
parent db8ec5735fd64b027344da5e66306cc5c8f1685f
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("");