aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/csv
diff options
context:
space:
mode:
authorDominik Honnef <dominik@honnef.co>2019-07-28 16:30:35 +0200
committerBrad Fitzpatrick <bradfitz@golang.org>2019-07-28 18:09:57 +0000
commitc4ca60313ef7fd0b9d2c223889caeb20147309ac (patch)
treea2471d6d33afb749283119e60864140f02921f9e /src/encoding/csv
parenta25c2878c75902585023618f1c60b447afcdd063 (diff)
downloadgo-c4ca60313ef7fd0b9d2c223889caeb20147309ac.tar.gz
go-c4ca60313ef7fd0b9d2c223889caeb20147309ac.zip
all: change some function documentation to be more idiomatic
Change-Id: I932de9bb061a8ba3332ef03207983e8b98d6f1e5 Reviewed-on: https://go-review.googlesource.com/c/go/+/187918 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/csv')
-rw-r--r--src/encoding/csv/writer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/csv/writer.go b/src/encoding/csv/writer.go
index b18996a930..3f34bc51db 100644
--- a/src/encoding/csv/writer.go
+++ b/src/encoding/csv/writer.go
@@ -41,7 +41,7 @@ func NewWriter(w io.Writer) *Writer {
}
}
-// Writer writes a single CSV record to w along with any necessary quoting.
+// Write writes a single CSV record to w along with any necessary quoting.
// A record is a slice of strings with each string being one field.
// Writes are buffered, so Flush must eventually be called to ensure
// that the record is written to the underlying io.Writer.