Make clippy happy

This commit is contained in:
Jonathan Kelley committed 2024-02-04 23:03:52 -08:00
1 parent 7d78e5e250
commit 4a7fe938ad
17 files changed
+39 -41

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ use dioxus_core::ElementId;
#[test]
fn empty_fragment_creates_nothing() {
fn app() -> Element {
rsx!({ () })
rsx!({})
}
let mut vdom = VirtualDom::new(app);
-1
View File
@@ -218,7 +218,6 @@ fn create_random_dynamic_attr() -> Attribute {
random_ns(),
rand::random(),
)
.into()
}
static mut TEMPLATE_COUNT: usize = 0;
+3 -3
View File
@@ -36,7 +36,7 @@ async fn it_works() {
});
});
rsx!({ () })
rsx!({})
}
run_vdom(app).await;
@@ -76,7 +76,7 @@ async fn yield_now_works() {
})
});
rsx!({ () })
rsx!({})
}
run_vdom(app).await;
@@ -110,7 +110,7 @@ async fn flushing() {
})
});
rsx!({ () })
rsx!({})
}
let mut dom = VirtualDom::new(app);