wip: compiles again

This commit is contained in:
Jonathan Kelley committed 2021-08-23 10:43:49 -04:00
1 parent db6d0184aa
commit 16bfc6d248
10 files changed
+534 -508

No files matched your search

-10
View File
@@ -98,13 +98,8 @@ pub struct VElement<'a> {
pub namespace: Option<&'static str>,
pub dom_id: Cell<Option<ElementId>>,
pub static_listeners: bool,
pub listeners: &'a [Listener<'a>],
pub static_attrs: bool,
pub attributes: &'a [Attribute<'a>],
pub static_children: bool,
pub children: &'a [VNode<'a>],
}
@@ -303,11 +298,6 @@ impl<'a> NodeFactory<'a> {
attributes,
children,
dom_id: empty_cell(),
// todo: wire up more constization
static_listeners: false,
static_attrs: false,
static_children: false,
}))
}