소스 검색

fix: clippy

Miles Murgaw 2 년 전
부모
커밋
4b800af300
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      playwrite-tests/fullstack/src/main.rs

+ 1 - 0
playwrite-tests/fullstack/src/main.rs

@@ -53,6 +53,7 @@ struct AppProps {
     count: i32,
 }
 
+#[allow(unused)]
 fn app(cx: Scope<AppProps>) -> Element {
     let mut count = use_state(cx, || cx.props.count);
     let text = use_state(cx, || "...".to_string());