From 8b7a49d03a7e4f0f940af0de515e35146c5a36c9 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 19 Jun 2017 02:33:01 +0200 Subject: [PATCH] client_bind: tighten match this branch is specific to Async::NotReady --- src/client_bind.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client_bind.rs b/src/client_bind.rs index 24238f6..ac85a9c 100644 --- a/src/client_bind.rs +++ b/src/client_bind.rs @@ -112,7 +112,7 @@ impl Future for ClientBind { replace(self, ClientBind::WaitRecv(stream)); self.poll() }, - Ok(_) => { + Ok(Async::NotReady) => { replace(self, ClientBind::WaitRecv(stream)); Ok(Async::NotReady) },