From d8d22664c65b0054fc9ea6ba7e945481348fc8fc Mon Sep 17 00:00:00 2001 From: cui fliter Date: Fri, 31 Mar 2023 00:00:19 +0800 Subject: all: fix misuses of "a" vs "an" Fixes the misuse of "a" vs "an", according to English grammatical expectations and using https://www.a-or-an.com/ Change-Id: I53ac724070e3ff3d33c304483fe72c023c7cda47 Reviewed-on: https://go-review.googlesource.com/c/go/+/480536 Run-TryBot: shuang cui Reviewed-by: Ian Lance Taylor TryBot-Result: Gopher Robot Auto-Submit: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Reviewed-by: Michael Knyszek --- src/encoding/gob/encoder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/encoding/gob') diff --git a/src/encoding/gob/encoder.go b/src/encoding/gob/encoder.go index 5a80e6c3e8..aa413939d4 100644 --- a/src/encoding/gob/encoder.go +++ b/src/encoding/gob/encoder.go @@ -60,7 +60,7 @@ func (enc *Encoder) setError(err error) { } } -// writeMessage sends the data item preceded by a unsigned count of its length. +// writeMessage sends the data item preceded by an unsigned count of its length. func (enc *Encoder) writeMessage(w io.Writer, b *encBuffer) { // Space has been reserved for the length at the head of the message. // This is a little dirty: we grab the slice from the bytes.Buffer and massage -- cgit v1.3-5-g45d5