require Send for S for resolve_passes multithreaded

This commit is contained in:
Evan Almloff committed 2023-01-01 15:48:26 -06:00
1 parent c1fc00ed53
commit 2d67dabfe5
3 files changed
+13 -15

No files matched your search

+1 -1
View File
@@ -398,7 +398,7 @@ impl<S: State> RealDom<S> {
impl<S: State + Sync> RealDom<S>
where
Tree<Node<S>>: Sync,
Tree<Node<S>>: Sync + Send,
{
/// Update the state of the dom, after appling some mutations. This will keep the nodes in the dom up to date with their VNode counterparts.
/// This will resolve the state in parallel