mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-22 20:23:09 +00:00
make clippy happy
This commit is contained in:
parent
9ebafc46bb
commit
14a1039808
1 changed files with 1 additions and 1 deletions
|
@ -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!");
|
||||
|
|
Loading…
Reference in a new issue