wip: more scheduler work

This commit is contained in:
Jonathan Kelley committed 2021-09-01 23:33:25 -04:00
1 parent 1cd5e69712
commit 44b4384961
4 files changed
+16 -10

No files matched your search

+1 -1
View File
@@ -153,7 +153,7 @@ impl<'bump> DiffMachine<'bump> {
}
}
pub fn diff_scope(&'bump mut self, id: ScopeId) {
pub fn diff_scope(&mut self, id: ScopeId) {
if let Some(component) = self.vdom.get_scope_mut(id) {
let (old, new) = (component.frames.wip_head(), component.frames.fin_head());
self.stack.push(DiffInstruction::DiffNode { new, old });