wip
This commit is contained in:
1 parent
c5f9cce63a
commit
952a91d540
18 files changed
+154
-48
No files matched your search
@@ -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! {
|
||||
|
||||
Reference in new issue
Block a user