mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
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));
|
replace(self, ClientBind::WaitRecv(stream));
|
||||||
self.poll()
|
self.poll()
|
||||||
},
|
},
|
||||||
Ok(_) => {
|
Ok(Async::NotReady) => {
|
||||||
replace(self, ClientBind::WaitRecv(stream));
|
replace(self, ClientBind::WaitRecv(stream));
|
||||||
Ok(Async::NotReady)
|
Ok(Async::NotReady)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue