소스 검색

fix tests

Evan Almloff 1 년 전
부모
커밋
3f31b9de43
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/dioxus-tui/examples/hover.rs

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

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