From 0c9b66c4f452d8478d23394a2ea8f7ccae8b48aa Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Sat, 14 Sep 2024 16:33:01 +0200 Subject: [PATCH] remove unnecessary let --- src/emulation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emulation.rs b/src/emulation.rs index 7347153e..35b8e1fb 100644 --- a/src/emulation.rs +++ b/src/emulation.rs @@ -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);