From 2adc4e892704bb99f2d16c0c09777987cb6bed35 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Tue, 17 Feb 2015 15:44:42 -0800 Subject: all: use "reports whether" in place of "returns true if(f)" Comment changes only. Change-Id: I56848814564c4aa0988b451df18bebdfc88d6d94 Reviewed-on: https://go-review.googlesource.com/7721 Reviewed-by: Rob Pike --- src/encoding/csv/writer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/encoding/csv') diff --git a/src/encoding/csv/writer.go b/src/encoding/csv/writer.go index 17e7bb7f5c..db2dc79a9e 100644 --- a/src/encoding/csv/writer.go +++ b/src/encoding/csv/writer.go @@ -114,7 +114,7 @@ func (w *Writer) WriteAll(records [][]string) (err error) { return w.w.Flush() } -// fieldNeedsQuotes returns true if our field must be enclosed in quotes. +// fieldNeedsQuotes reports whether our field must be enclosed in quotes. // Fields with a Comma, fields with a quote or newline, and // fields which start with a space must be enclosed in quotes. // We used to quote empty strings, but we do not anymore (as of Go 1.4). -- cgit v1.3