remove unnecessary let

This commit is contained in:
Ferdinand Schober
2024-09-14 16:33:01 +02:00
committed by Ferdinand Schober
parent eb0022995c
commit ae5f3e5303

View File

@@ -58,7 +58,7 @@ impl Emulation {
}
}
_ = interval.tick() => {
let _ = last_response.retain(|addr,instant| {
last_response.retain(|addr,instant| {
if instant.elapsed() > Duration::from_secs(5) {
log::warn!("{addr} is not responding, releasing keys!");
emulation_proxy.release_keys(*addr);