make return type for closure explicit

This commit is contained in:
YK committed 2025-09-13 12:47:16 +03:00
1 parent 1c0c0a2b5f
commit 697e7db055
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ pub fn Sidebar () -> impl IntoView {
};
let pc_hp = move |a: u16, b: u16| {
let pc_hp = move |a: u16, b: u16| -> String {
format!("width: {}%", utils::filled_pc(a, b).min(100.))
};