Skip to content

Commit

Permalink
io: tweak Reader comment
Browse files Browse the repository at this point in the history
I think this has the same meaning as before,
but the text is tighter, and it makes some people happy.

Fixes #10182.

Change-Id: I7ee1eae4bcd6ee4a5898ea948648939e6bde5f01
Reviewed-on: https://go-review.googlesource.com/11674
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
  • Loading branch information
rsc committed Jun 29, 2015
1 parent 4df6b1e commit 643ef15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/io.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var ErrNoProgress = errors.New("multiple Read calls return no data or error")
// An instance of this general case is that a Reader returning
// a non-zero number of bytes at the end of the input stream may
// return either err == EOF or err == nil. The next Read should
// return 0, EOF regardless.
// return 0, EOF.
//
// Callers should always process the n > 0 bytes returned before
// considering the error err. Doing so correctly handles I/O errors
Expand Down

0 comments on commit 643ef15

Please sign in to comment.