wip: try to get lifetimes passed in properly
This commit is contained in:
1 parent
27d891934a
commit
f70b5b4e4a
6 files changed
+312
-184
No files matched your search
@@ -421,6 +421,10 @@ impl<'bump> DiffMachine<'bump> {
|
||||
) => self
|
||||
.stack
|
||||
.create_node(new_node, MountType::Replace { old: old_node }),
|
||||
|
||||
(Placeholder, _) | (_, Placeholder) => {
|
||||
unreachable!("placeholder should never be diffed");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1125,6 +1129,7 @@ impl<'bump> DiffMachine<'bump> {
|
||||
|
||||
self.remove_nodes(e.children, false);
|
||||
}
|
||||
|
||||
VNode::Fragment(f) => {
|
||||
self.remove_nodes(f.children, gen_muts);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user