Skip to content

Commit 8ecd821

Browse files
authored
Remove note about AsyncBufRead (#68)
1 parent 77df32d commit 8ecd821

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/connection.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ pub struct Connection {
2424
// sufficient for our needs.
2525
stream: BufWriter<TcpStream>,
2626

27-
// The buffer for reading frames. Unfortunately, Tokio's `BufReader`
28-
// currently requires you to empty its buffer before you can ask it to
29-
// retrieve more data from the underlying stream, so we have to manually
30-
// implement buffering. This should be fixed in Tokio v0.3.
27+
// The buffer for reading frames.
3128
buffer: BytesMut,
3229
}
3330

0 commit comments

Comments
 (0)