Skip to content

Commit c7f633b

Browse files
committed
fix wrong statement
1 parent 1e457ad commit c7f633b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-read-all.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ One alternative design would return some new kind of Result which
4646
could report the number of bytes sucessfully read before an error.
4747
This would be inconsistent with write_all, but arguably more correct.
4848

49-
If we wanted io::Error to be a smaller type, ErrorKind::ShortRead
49+
If we wanted io::ErrorKind to be a smaller type, ErrorKind::ShortRead
5050
could be unparameterized. But this would reduce the information
5151
available to calleres.
5252

0 commit comments

Comments
 (0)