summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorextrawurst <mail@rusticorn.com>2023-08-12 18:50:19 +0200
committerextrawurst <mail@rusticorn.com>2023-08-12 18:50:19 +0200
commit8437b76f997ce6cae4c6df6919a567cb86d2d066 (patch)
tree299a151d6351fe564f9a4d91ee11ab5e23c81317 /src/main.rs
parent798f990cd3782bd443198b9f7f90853f9bb57dd4 (diff)
fix nightly clippy
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 3a3a7454..2d3db590 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -359,7 +359,7 @@ fn select_event(
QueueEvent::AsyncEvent(AsyncNotification::App(e))
}),
3 => oper.recv(rx_ticker).map(|_| QueueEvent::Notify),
- 4 => oper.recv(rx_notify).map(|_| QueueEvent::Notify),
+ 4 => oper.recv(rx_notify).map(|()| QueueEvent::Notify),
5 => oper.recv(rx_spinner).map(|_| QueueEvent::SpinnerUpdate),
_ => bail!("unknown select source"),
}?;