fix clippy

This commit is contained in:
Evan Almloff committed 2023-03-26 07:23:32 -05:00
1 parent 84d0b8e9e0
commit c4027c2618
2 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ fn main() {
}
fn app(cx: Scope) -> Element {
let elements: &UseRef<Vec<Rc<MountedData>>> = use_ref(cx, || Vec::new());
let elements: &UseRef<Vec<Rc<MountedData>>> = use_ref(cx, Vec::new);
let running = use_state(cx, || true);
use_future!(cx, |(elements, running)| async move {