client_bind: tighten match
this branch is specific to Async::NotReady
This commit is contained in:
parent
2e0dff5153
commit
8b7a49d03a
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ impl<S: AsyncRead + AsyncWrite> Future for ClientBind<S> {
|
|||
replace(self, ClientBind::WaitRecv(stream));
|
||||
self.poll()
|
||||
},
|
||||
Ok(_) => {
|
||||
Ok(Async::NotReady) => {
|
||||
replace(self, ClientBind::WaitRecv(stream));
|
||||
Ok(Async::NotReady)
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue