diff options
| author | Eskil Queseth <eskilq@kth.se> | 2020-10-14 17:02:49 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2020-10-14 17:02:49 +0200 |
| commit | e4406676a28f2dfb756f8f9e38a4242166f19c0e (patch) | |
| tree | 7f3be459af5be2a8e94952de622d8e093520a56e /mumd/src/network/udp.rs | |
| parent | a42eea8af353d15e1ffba287fa47ad774c31aef1 (diff) | |
| download | mum-e4406676a28f2dfb756f8f9e38a4242166f19c0e.tar.gz | |
resolve some compiler warnings
Diffstat (limited to 'mumd/src/network/udp.rs')
| -rw-r--r-- | mumd/src/network/udp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mumd/src/network/udp.rs b/mumd/src/network/udp.rs index ab4ca1d..a757a2b 100644 --- a/mumd/src/network/udp.rs +++ b/mumd/src/network/udp.rs @@ -75,7 +75,7 @@ async fn listen( let (tx, rx) = oneshot::channel(); let phase_transition_block = async { while !matches!(phase_watcher.recv().await.unwrap(), StatePhase::Disconnected) {} - tx.send(true); + tx.send(true).unwrap(); }; let main_block = async { @@ -185,7 +185,7 @@ async fn send_voice( let (tx, rx) = oneshot::channel(); let phase_transition_block = async { while !matches!(phase_watcher.recv().await.unwrap(), StatePhase::Disconnected) {} - tx.send(true); + tx.send(true).unwrap(); }; let main_block = async { |
