mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 11:59:59 +03:00
remove unnecessary let
This commit is contained in:
committed by
Ferdinand Schober
parent
eb0022995c
commit
ae5f3e5303
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user