wip: on collaborative scheduling

This commit is contained in:
Jonathan Kelley committed 2021-08-09 02:37:11 -04:00
1 parent fac42339c2
commit 1a323835c8
5 files changed
+122 -155

No files matched your search

+1 -4
View File
@@ -108,10 +108,7 @@ impl<'r, 'bump> DiffMachine<'r, 'bump> {
/// this is mostly useful for testing
///
/// This will PANIC if any component elements are passed in.
pub fn new_headless(
// edits: &'r mut Vec<DomEdit<'bump>>,
shared: &'bump SharedResources,
) -> Self {
pub fn new_headless(shared: &'bump SharedResources) -> Self {
Self {
edits: Mutations { edits: Vec::new() },
scope_stack: smallvec![ScopeId(0)],