mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 10:30:41 +08:00
tui: Fix clippy issue
This commit is contained in:
@@ -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("");
|
||||
|
||||
Reference in New Issue
Block a user