fix: make miri pass on context api

This commit is contained in:
Jonathan Kelley committed 2023-01-09 13:50:33 -08:00
1 parent b50f38c675
commit faf94c7b4e
6 files changed
+65 -68

No files matched your search

+1 -1
View File
@@ -549,7 +549,7 @@ impl VirtualDom {
loop {
// first, unload any complete suspense trees
for finished_fiber in self.finished_fibers.drain(..) {
let scope = &mut self.scopes[finished_fiber.0];
let scope = &self.scopes[finished_fiber.0];
let context = scope.has_context::<Rc<SuspenseContext>>().unwrap();
self.mutations