mirror of
https://github.com/golang/go
synced 2024-11-23 07:00:05 -07:00
io: fix spelling in documentation
Change-Id: Ie23a9f1300a803d9c713e82b0d892dd90333ca7b Reviewed-on: https://go-review.googlesource.com/c/go/+/351371 Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
41bb7446dc
commit
1537f14db5
@ -47,7 +47,7 @@ var EOF = errors.New("EOF")
|
||||
// middle of reading a fixed-size block or data structure.
|
||||
var ErrUnexpectedEOF = errors.New("unexpected EOF")
|
||||
|
||||
// ErrNoProgress is returned by some clients of an Reader when
|
||||
// ErrNoProgress is returned by some clients of a Reader when
|
||||
// many calls to Read have failed to return any data or error,
|
||||
// usually the sign of a broken Reader implementation.
|
||||
var ErrNoProgress = errors.New("multiple Read calls return no data or error")
|
||||
|
@ -216,7 +216,7 @@ func TestMultiWriterCopy(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// readerFunc is an Reader implemented by the underlying func.
|
||||
// readerFunc is a Reader implemented by the underlying func.
|
||||
type readerFunc func(p []byte) (int, error)
|
||||
|
||||
func (f readerFunc) Read(p []byte) (int, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user