remove more lifetimes
This commit is contained in:
1 parent
3ad16ddd37
commit
f42ef3ef9d
18 files changed
+241
-421
No files matched your search
@@ -19,7 +19,7 @@ fn nested_passthru_creates() {
|
||||
}
|
||||
|
||||
#[component]
|
||||
fn PassThru<'a>(cx: Scope<'a>, children: Element<'a>) -> Element {
|
||||
fn PassThru<'a>(cx: Scope<'a>, children: Element) -> Element {
|
||||
cx.render(rsx!(children))
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ fn nested_passthru_creates_add() {
|
||||
}
|
||||
|
||||
#[component]
|
||||
fn ChildComp<'a>(cx: Scope, children: Element<'a>) -> Element {
|
||||
fn ChildComp<'a>(cx: Scope, children: Element) -> Element {
|
||||
cx.render(rsx! { children })
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user