From 41348081fa0511c8f442d236d32ff8d589c8c557 Mon Sep 17 00:00:00 2001 From: Daniel Martí Date: Tue, 10 Dec 2019 14:27:53 +0000 Subject: all: fix a number of misuses of the word "an" After golang.org/cl/210124, I wondered if the same error had gone unnoticed elsewhere. I quickly spotted another dozen mistakes after reading through the output of: git grep '\<[Aa]n [bcdfgjklmnpqrtvwyz][a-z]' Many results are false positives for acronyms like "an mtime", since it's pronounced "an em-time". However, the total amount of output isn't that large given how simple the grep pattern is. Change-Id: Iaa2ca69e42f4587a9e3137d6c5ed758887906ca6 Reviewed-on: https://go-review.googlesource.com/c/go/+/210678 Reviewed-by: Ian Lance Taylor Reviewed-by: Zach Jones Reviewed-by: Robert Griesemer Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot --- src/encoding/gob/gobencdec_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/encoding/gob') diff --git a/src/encoding/gob/gobencdec_test.go b/src/encoding/gob/gobencdec_test.go index 41a06b26c8..6d2c8db42d 100644 --- a/src/encoding/gob/gobencdec_test.go +++ b/src/encoding/gob/gobencdec_test.go @@ -707,7 +707,7 @@ func TestGobEncoderExtraIndirect(t *testing.T) { // Another bug: this caused a crash with the new Go1 Time type. // We throw in a gob-encoding array, to test another case of isZero, -// and a struct containing an nil interface, to test a third. +// and a struct containing a nil interface, to test a third. type isZeroBug struct { T time.Time S string -- cgit v1.3-5-g9baa