mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-07 19:21:29 +03:00
fix compilation
This commit is contained in:
@@ -211,7 +211,7 @@ async fn receive_loop(
|
||||
let mut buf = [0u8; MAX_EVENT_SIZE];
|
||||
while let Ok(_) = conn.recv(&mut buf).await {
|
||||
if let Ok(event) = buf.try_into() {
|
||||
tx.send((handle, event));
|
||||
tx.send((handle, event)).expect("channel closed");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user