Browse Source

fix: clippy

Miles Murgaw 2 years ago
parent
commit
4b800af300
1 changed files with 1 additions and 0 deletions
  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());