Skip to content

Commit 9bc90cc

Browse files
committed
fixes compliation error, add missing return
fixes #355
1 parent a7e0478 commit 9bc90cc

File tree

1 file changed

+1
-1
lines changed
  • crates/shadowsocks/src/relay/sys/unix

1 file changed

+1
-1
lines changed

crates/shadowsocks/src/relay/sys/unix/uds.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl UnixStream {
4646
Err(ref err) if err.kind() == ErrorKind::WouldBlock => {
4747
ready.clear_ready();
4848
}
49-
x => Poll::Ready(x),
49+
x => return Poll::Ready(x),
5050
}
5151
}
5252
}

0 commit comments

Comments
 (0)