wip: stop transmuting reference
This commit is contained in:
1 parent
d407035931
commit
491bf4332d
8 files changed
+263
-244
No files matched your search
@@ -1,5 +1,4 @@
|
||||
use std::{
|
||||
any::Any,
|
||||
cell::{Cell, RefCell},
|
||||
fmt::Arguments,
|
||||
};
|
||||
@@ -130,7 +129,10 @@ where
|
||||
}
|
||||
|
||||
pub enum RenderReturn<'a> {
|
||||
/// A currently-available element
|
||||
Sync(Element<'a>),
|
||||
|
||||
/// An ongoing future that will resolve to a [`Element`]
|
||||
Async(BumpBox<'a, dyn Future<Output = Element<'a>> + 'a>),
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user