This commit is contained in:
Jonathan Kelley committed 2021-07-01 14:14:59 -04:00
1 parent c5f9cce63a
commit 952a91d540
18 files changed
+154 -48

No files matched your search

+4 -4
View File
@@ -8,11 +8,11 @@
//!
//!
struct NodeCtx {}
struct NodeFactory {}
struct div<'a>(&NodeCtx);
struct div<'a>(&NodeFactory);
impl<'a> div<'a> {
fn new(cx: &NodeCtx) -> Self {
fn new(cx: &NodeFactory) -> Self {
div(cx)
}
}
@@ -21,7 +21,7 @@ fn main() {}
fn factory(
// this is your mom
cx: &NodeCtx,
cx: &NodeFactory,
) {
div::new(cx);
rsx! {