make diffing a bit more resilient

This commit is contained in:
Evan Almloff committed 2024-01-11 17:21:38 -06:00
1 parent 6c29e2b825
commit 69da70fd32
2 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -139,10 +139,10 @@ impl<F: Fn() -> Element> ComponentFunction<ZeroElementMarker> for F {
#[test]
fn test_empty_builder() {
fn app() -> Element {
todo!()
unimplemented!()
}
fn app2(_: ()) -> Element {
todo!()
unimplemented!()
}
let builder = fc_to_builder(app);
builder.build();