trailing ws

This commit is contained in:
Oliver Gould
2017-07-24 16:47:24 +00:00
parent 9a95fc5eef
commit a4cf406c22
3 changed files with 3 additions and 3 deletions

View File

@@ -146,7 +146,7 @@ impl<T, P, B> Stream for Connection<T, P, B>
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

View File

@@ -296,7 +296,7 @@ impl<T, U> ReadySink for FlowControl<T>
/// > 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<T> ApplySettings for FlowControl<T>
impl<T> ApplySettings for FlowControl<T>
where T: ApplySettings,
T: ControlStreams
{

View File

@@ -99,7 +99,7 @@ impl<T, U> Stream for StreamRecvOpen<T>
fn poll(&mut self) -> Poll<Option<T::Item>, 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");