fix: ci not passing
This commit is contained in:
1 parent
faf94c7b4e
commit
39c4f3f814
2 files changed
+3
-1
No files matched your search
@@ -30,6 +30,8 @@ impl BumpFrame {
|
|||||||
pub(crate) fn bump(&self) -> &Bump {
|
pub(crate) fn bump(&self) -> &Bump {
|
||||||
unsafe { &*self.bump.get() }
|
unsafe { &*self.bump.get() }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::mut_from_ref)]
|
||||||
pub(crate) unsafe fn bump_mut(&self) -> &mut Bump {
|
pub(crate) unsafe fn bump_mut(&self) -> &mut Bump {
|
||||||
unsafe { &mut *self.bump.get() }
|
unsafe { &mut *self.bump.get() }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ impl<'src> ScopeState {
|
|||||||
/// If you need to allocate items that need to be dropped, use bumpalo's box.
|
/// If you need to allocate items that need to be dropped, use bumpalo's box.
|
||||||
pub fn bump(&self) -> &Bump {
|
pub fn bump(&self) -> &Bump {
|
||||||
// note that this is actually the previous frame since we use that as scratch space while the component is rendering
|
// note that this is actually the previous frame since we use that as scratch space while the component is rendering
|
||||||
&self.previous_frame().bump()
|
self.previous_frame().bump()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get a handle to the currently active head node arena for this Scope
|
/// Get a handle to the currently active head node arena for this Scope
|
||||||
|
|||||||
Reference in new issue
Block a user