]> Cypherpunks repositories - gostls13.git/commitdiff
encoding/csv: correct Column docs
authorIan Lance Taylor <iant@golang.org>
Fri, 18 Aug 2023 23:34:29 +0000 (16:34 -0700)
committerGopher Robot <gobot@golang.org>
Sat, 19 Aug 2023 23:05:33 +0000 (23:05 +0000)
For #44221
Fixes #62147

Change-Id: Ibcc0d11c8253f51a8f5771791ea4173a38a61950
Reviewed-on: https://go-review.googlesource.com/c/go/+/520917
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/encoding/csv/reader.go

index c6a8ed02c154a1d6beaa72b732fb5893506b3b08..a93de9822d1bcf6c84bf22b11f4f8685f7f7c6ff 100644 (file)
@@ -62,7 +62,7 @@ import (
 )
 
 // A ParseError is returned for parsing errors.
-// Line numbers are 1-indexed and columns are 0-indexed.
+// Line and column numbers are 1-indexed.
 type ParseError struct {
        StartLine int   // Line where the record starts
        Line      int   // Line where the error occurred