From a4cf406c2268b5e19c0b3eb3ff11abbead26de88 Mon Sep 17 00:00:00 2001 From: Oliver Gould Date: Mon, 24 Jul 2017 16:47:24 +0000 Subject: [PATCH] trailing ws --- src/proto/connection.rs | 2 +- src/proto/flow_control.rs | 2 +- src/proto/stream_recv_open.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/proto/connection.rs b/src/proto/connection.rs index f3128bb..b0afc8b 100644 --- a/src/proto/connection.rs +++ b/src/proto/connection.rs @@ -146,7 +146,7 @@ impl Stream for Connection Async::NotReady => { // Receiving new frames may depend on ensuring that the write buffer // is clear (e.g. if window updates need to be sent), so `poll_complete` - // is called here. + // is called here. try_ready!(self.poll_complete()); // If the write buffer is cleared, attempt to poll the underlying diff --git a/src/proto/flow_control.rs b/src/proto/flow_control.rs index 726c73b..3e5c75a 100644 --- a/src/proto/flow_control.rs +++ b/src/proto/flow_control.rs @@ -296,7 +296,7 @@ impl ReadySink for FlowControl /// > flow-control window and MUST NOT send new flow-controlled frames until it /// > receives WINDOW_UPDATE frames that cause the flow-control window to become /// > positive. -impl ApplySettings for FlowControl +impl ApplySettings for FlowControl where T: ApplySettings, T: ControlStreams { diff --git a/src/proto/stream_recv_open.rs b/src/proto/stream_recv_open.rs index dbc6da1..af9144c 100644 --- a/src/proto/stream_recv_open.rs +++ b/src/proto/stream_recv_open.rs @@ -99,7 +99,7 @@ impl Stream for StreamRecvOpen fn poll(&mut self) -> Poll, T::Error> { // Since there's only one slot for pending refused streams, it must be cleared - // before polling a frame from the transport. + // before polling a frame from the transport. try_ready!(self.send_pending_refuse()); trace!("poll");