Commit 8c190e58 authored by Joe Tsai's avatar Joe Tsai Committed by Joe Tsai
Browse files

io: update documentation on LimitedReader

Specify that that LimitedReader returns EOF when the underlying
R returns EOF even if bytes remaining, N > 0.

Fixes #18271

Change-Id: I990a7135f1d31488d535238ae061d42ee96bacb7
Reviewed-on: https://go-review.googlesource.com/34249


Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 454c2343
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment