use raw pointers instead of transmute to make miri happy

This commit is contained in:
Evan Almloff committed 2023-09-04 09:28:16 -05:00
1 parent cf04256395
commit cfc6887e34
4 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -144,7 +144,7 @@ impl<'b> VirtualDom {
.enumerate()
.for_each(|(dyn_node_idx, (left_node, right_node))| {
let current_ref = ElementRef {
template: right_template.into(),
template: right_template,
path: ElementPath {
path: left_template.template.get().node_paths[dyn_node_idx],
},