diff --git a/src/connection.rs b/src/connection.rs index 91535dc..e81571a 100644 --- a/src/connection.rs +++ b/src/connection.rs @@ -24,10 +24,7 @@ pub struct Connection { // sufficient for our needs. stream: BufWriter, - // The buffer for reading frames. Unfortunately, Tokio's `BufReader` - // currently requires you to empty its buffer before you can ask it to - // retrieve more data from the underlying stream, so we have to manually - // implement buffering. This should be fixed in Tokio v0.3. + // The buffer for reading frames. buffer: BytesMut, }