fix some more clippy lints

This commit is contained in:
Evan Almloff committed 2024-01-09 10:11:31 -06:00
1 parent eb602fc29f
commit 8af39e0f1e
3 files changed
+3 -8

No files matched your search

-6
View File
@@ -864,12 +864,6 @@ impl VNode {
}
impl VNodeMount {
fn mount_attribute(&mut self, attribute_index: usize, dom: &mut VirtualDom) -> ElementId {
let id = dom.next_element();
self.mounted_attributes[attribute_index] = id;
id
}
fn mount_node(&mut self, node_index: usize, dom: &mut VirtualDom) -> ElementId {
let id = dom.next_element();
self.mounted_dynamic_nodes[node_index] = id.0;