From: Ian Lance Taylor Date: Fri, 18 Aug 2023 23:34:29 +0000 (-0700) Subject: encoding/csv: correct Column docs X-Git-Tag: go1.22rc1~1196 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e019d01d98cd4f42279b43c77c1a6c2a901a690f;p=gostls13.git encoding/csv: correct Column docs For #44221 Fixes #62147 Change-Id: Ibcc0d11c8253f51a8f5771791ea4173a38a61950 Reviewed-on: https://go-review.googlesource.com/c/go/+/520917 Run-TryBot: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Joseph Tsai Reviewed-by: Dmitri Shuralyov --- diff --git a/src/encoding/csv/reader.go b/src/encoding/csv/reader.go index c6a8ed02c1..a93de9822d 100644 --- a/src/encoding/csv/reader.go +++ b/src/encoding/csv/reader.go @@ -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