Skip to content

Commit a79a201

Browse files
committed
fix warnings in tcp_proxy
1 parent 4830226 commit a79a201

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/net/test/tcp_proxy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ impl TcpProxy {
8989

9090
pub async fn start(&mut self) {
9191
let _ = self.state_inlet.send(State::On);
92-
self.off_lock.write().await;
92+
let _ = self.off_lock.write().await;
9393
}
9494

9595
pub async fn stop(&mut self) {
9696
let _ = self.state_inlet.send(State::Off);
97-
self.on_lock.write().await;
97+
let _ = self.on_lock.write().await;
9898
}
9999

100100
pub async fn reset(&mut self) {

0 commit comments

Comments
 (0)