wip: no more lifetimes

This commit is contained in:
Jonathan Kelley committed 2021-11-06 21:07:01 -04:00
1 parent 857c92f7f0
commit d96276a715
6 files changed
+38 -25

No files matched your search

+2 -2
View File
@@ -48,8 +48,8 @@ pub(crate) mod innerlude {
pub use crate::util::*;
pub use crate::virtual_dom::*;
pub type Element<'a> = Option<VNode<'a>>;
pub type FC<P> = for<'a> fn(Scope<'a, P>) -> Element<'a>;
pub type Element = Option<CachedNode>;
pub type FC<P> = for<'a> fn(Scope<'a, P>) -> CachedNode;
}
pub use crate::innerlude::{