From 14a1039808806ec500c77ceea4ebd2e273c4aeaf Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Mon, 6 Feb 2023 22:18:07 -0800 Subject: [PATCH] make clippy happy --- examples/button.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/button.rs b/examples/button.rs index 2764f88b..f001ed53 100644 --- a/examples/button.rs +++ b/examples/button.rs @@ -7,7 +7,7 @@ fn main() { fn app(cx: Scope) -> Element { cx.render(rsx! { button { - onclick: |e| async move { + onclick: |_| async move { println!("hello, desktop!"); tokio::time::sleep(std::time::Duration::from_secs(1)).await; println!("goodbye, desktop!");