use raw pointers instead of transmute to make miri happy
This commit is contained in:
1 parent
cf04256395
commit
cfc6887e34
4 files changed
+11
-9
No files matched your search
@@ -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],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user