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
@@ -187,7 +187,7 @@ impl<'b> VirtualDom {
|
||||
path: ElementPath {
|
||||
path: &template.template.get().node_paths[idx],
|
||||
},
|
||||
template: &template,
|
||||
template: template,
|
||||
scope: self.runtime.current_scope_id().unwrap_or(ScopeId(0)),
|
||||
};
|
||||
self.create_dynamic_node(template_ref, node)
|
||||
@@ -197,7 +197,7 @@ impl<'b> VirtualDom {
|
||||
path: ElementPath {
|
||||
path: &template.template.get().node_paths[idx],
|
||||
},
|
||||
template: &template,
|
||||
template: template,
|
||||
scope: self.runtime.current_scope_id().unwrap_or(ScopeId(0)),
|
||||
};
|
||||
parent.set(Some(self.next_element_ref(template_ref)));
|
||||
|
||||
Reference in new issue
Block a user