Skip to content

Commit

Permalink
remove unnecessary let
Browse files Browse the repository at this point in the history
  • Loading branch information
feschber committed Nov 7, 2024
1 parent eb00229 commit ae5f3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ae5f3e5

Please sign in to comment.