diff --git a/src/encoding/csv/reader.go b/src/encoding/csv/reader.go index 37bf80ceaed..a6bb780bf28 100644 --- a/src/encoding/csv/reader.go +++ b/src/encoding/csv/reader.go @@ -155,7 +155,7 @@ func (r *Reader) Read() (record []string, err error) { // ReadAll reads all the remaining records from r. // Each record is a slice of fields. -// A successful call returns err == nil, not err == EOF. Because ReadAll is +// A successful call returns err == nil, not err == io.EOF. Because ReadAll is // defined to read until EOF, it does not treat end of file as an error to be // reported. func (r *Reader) ReadAll() (records [][]string, err error) {