fix: it compiles again
This commit is contained in:
1 parent
0e6c845690
commit
77686ba329
5 files changed
+265
-306
No files matched your search
@@ -44,10 +44,15 @@ impl ScopeArena {
|
||||
unsafe { Some(&*self.scopes[id.0]) }
|
||||
}
|
||||
|
||||
// this is unsafe
|
||||
pub unsafe fn get_scope_mut(&self, id: &ScopeId) -> Option<*mut Scope> {
|
||||
Some(self.scopes[id.0])
|
||||
}
|
||||
|
||||
pub fn new_with_key(
|
||||
&mut self,
|
||||
fc_ptr: *const (),
|
||||
caller: *mut dyn Fn(&Scope) -> Element,
|
||||
caller: *const dyn Fn(&Scope) -> Element,
|
||||
parent_scope: Option<*mut Scope>,
|
||||
height: u32,
|
||||
subtree: u32,
|
||||
|
||||
Reference in new issue
Block a user