feat: it compiles once more

This commit is contained in:
Jonathan Kelley committed 2021-11-11 16:36:51 -05:00
1 parent 74c6211408
commit 8acdd2ea83
9 files changed
+278 -120

No files matched your search

+1 -1
View File
@@ -499,7 +499,7 @@ impl Scope {
}
}
pub fn root_node(&self) -> &VNode {
pub fn root_node<'a>(&'a self) -> &'a VNode<'a> {
let node = *self.wip_frame().nodes.borrow().get(0).unwrap();
unsafe { std::mem::transmute(&*node) }
}