Make clippy happy
This commit is contained in:
17 files changed
+39
-41
No files matched your search
@@ -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);
|
||||
|
||||
@@ -218,7 +218,6 @@ fn create_random_dynamic_attr() -> Attribute {
|
||||
random_ns(),
|
||||
rand::random(),
|
||||
)
|
||||
.into()
|
||||
}
|
||||
|
||||
static mut TEMPLATE_COUNT: usize = 0;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user