From 1c691e899c67f1981bdf0febdb7f2f5560ba4a9c Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Fri, 7 Jan 2022 11:53:19 -0500 Subject: [PATCH] tweak: example --- examples/framework_benchmark.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/framework_benchmark.rs b/examples/framework_benchmark.rs index 8ed60986a..0a70bd25b 100644 --- a/examples/framework_benchmark.rs +++ b/examples/framework_benchmark.rs @@ -91,7 +91,7 @@ fn app(cx: Scope) -> Element { struct ActionButtonProps<'a> { name: &'a str, id: &'a str, - onclick: EventHandler<'a, ()>, + onclick: EventHandler<'a>, } fn ActionButton<'a>(cx: Scope<'a, ActionButtonProps<'a>>) -> Element {