Chore: Cleanup clippy lints

This commit is contained in:
Kyle Simpson
2023-11-19 23:54:53 +00:00
parent 1487da175c
commit 91640f6c86
2 changed files with 12 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ impl UdpRx {
Err(flume::RecvError::Disconnected) => break,
}
},
_ = tokio::time::sleep_until(playout_time) => {
() = tokio::time::sleep_until(playout_time) => {
let mut tick = VoiceTick {
speaking: HashMap::new(),
silent: HashSet::new(),
@@ -97,7 +97,7 @@ impl UdpRx {
drop(interconnect.events.send(EventMessage::FireCoreEvent(CoreContext::VoiceTick(tick))));
},
_ = tokio::time::sleep_until(cleanup_time) => {
() = tokio::time::sleep_until(cleanup_time) => {
// periodic cleanup.
let now = Instant::now();