1
0
Evan Almloff 1 жил өмнө
parent
commit
3f31b9de43

+ 1 - 1
packages/dioxus-tui/examples/hover.rs

@@ -13,7 +13,7 @@ fn app(cx: Scope) -> Element {
         let mut result = String::new();
         let mut result = String::new();
         result += "#";
         result += "#";
         for c in c.iter() {
         for c in c.iter() {
-            write!(string, "{c:02X?}").unwrap();
+            write!(result, "{c:02X?}").unwrap();
         }
         }
         result
         result
     }
     }