Remove note about AsyncBufRead (#68)

This commit is contained in:
Alice Ryhl
2020-10-24 23:42:24 +02:00
committed by GitHub
parent 77df32d15e
commit 8ecd82107e

View File

@@ -24,10 +24,7 @@ pub struct Connection {
// sufficient for our needs.
stream: BufWriter<TcpStream>,
// 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,
}