Feat: ensure mutabality is okay when not double-using the components
This commit is contained in:
1 parent
b3c96a5996
commit
305ff919ef
13 files changed
+120
-114
No files matched your search
@@ -126,7 +126,7 @@ impl Scope {
|
||||
/// This function downcasts the function pointer based on the stored props_type
|
||||
///
|
||||
/// Props is ?Sized because we borrow the props and don't need to know the size. P (sized) is used as a marker (unsized)
|
||||
pub fn run<'bump>(&'bump mut self) {
|
||||
pub fn run_scope<'bump>(&'bump mut self) -> Result<()> {
|
||||
let frame = {
|
||||
let frame = self.frames.next();
|
||||
frame.bump.reset();
|
||||
|
||||
Reference in new issue
Block a user