fix any value dropping

This commit is contained in:
Evan Almloff committed 2023-01-02 21:26:12 -06:00
1 parent 51dba50c04
commit c0f9355648
7 files changed
+43 -36

No files matched your search

+1 -1
View File
@@ -641,7 +641,7 @@ impl VirtualDom {
/// Swap the current mutations with a new
fn finalize(&mut self) -> Mutations {
self.mutations.take()
std::mem::take(&mut self.mutations)
}
}