make clippy happy
This commit is contained in:
1 parent
9ebafc46bb
commit
14a1039808
1 file changed
+1
-1
+1
-1
@@ -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!");
|
||||
|
||||
Reference in new issue
Block a user