aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoding')
-rw-r--r--src/encoding/gob/encoder.go2
1 files changed, 1 insertions, 1 deletions
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