summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-01-09 16:25:44 +0100
committerLinus Färnstrand <linus@mullvad.net>2017-01-09 16:25:44 +0100
commitb25d54535e8f5b5dce28b2071d6a708cd758d7aa (patch)
tree5609be66af433d2c6b3afd32be28f90e81ee1c7e /src
parent8495e58dffeb3450f55a2042bf494ff5e20e12c1 (diff)
downloadmullvadvpn-b25d54535e8f5b5dce28b2071d6a708cd758d7aa.tar.xz
mullvadvpn-b25d54535e8f5b5dce28b2071d6a708cd758d7aa.zip
Use drop() instead of let _ =
Diffstat (limited to 'src')
-rw-r--r--src/process/monitor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process/monitor.rs b/src/process/monitor.rs
index f4f83bca2f..5da0143fa9 100644
--- a/src/process/monitor.rs
+++ b/src/process/monitor.rs
@@ -491,7 +491,7 @@ mod child_monitor {
testee.start();
testee.stop();
- let _ = rx.recv_timeout(Duration::new(1, 0));
+ drop(rx.recv_timeout(Duration::new(1, 0)));
assert_event!(rx, Ok(MockEvent::Stop(Ok(()))));
assert_event!(rx, Ok(MockEvent::ChildExited(true)));
}