wip: considering making vdom passed verywehre

This commit is contained in:
Jonathan Kelley committed 2021-08-26 01:52:50 -04:00
1 parent d4d7114beb
commit ac3a7b1fbc
6 files changed
+141 -65

No files matched your search

+2 -2
View File
@@ -47,11 +47,11 @@ pub struct DiffStack<'bump> {
}
impl<'bump> DiffStack<'bump> {
pub fn new(cur_scope: ScopeId) -> Self {
pub fn new() -> Self {
Self {
instructions: Vec::with_capacity(1000),
nodes_created_stack: smallvec![],
scope_stack: smallvec![cur_scope],
scope_stack: smallvec![],
}
}