Skip to content

Commit a8bce0c

Browse files
authored
Update text/0000-read-buf.md
1 parent dfd5ec2 commit a8bce0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-read-buf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ impl<'a> ReadBufs<'a> {
558558

559559
This introduces a nontrivial amount of complexity to one of the standard library's core traits, and results in sets of
560560
almost-but-not-quite identical methods (`read`/`read_buf`, `read_exact`/`read_buf_exact`, etc). It's unfortunate that
561-
an empty implementation of `Read` will compile and stack overflow.
561+
an implementor of `Read` based on `read_buf` needs to add a boilerplate `read` implementation.
562562

563563
# Rationale and alternatives
564564
[rationale-and-alternatives]: #rationale-and-alternatives

0 commit comments

Comments
 (0)