diff --git a/src/encoding/gob/encoder.go b/src/encoding/gob/encoder.go index aa413939d46..16b65bf7d49 100644 --- a/src/encoding/gob/encoder.go +++ b/src/encoding/gob/encoder.go @@ -39,7 +39,7 @@ func NewEncoder(w io.Writer) *Encoder { return enc } -// writer() returns the innermost writer the encoder is using +// writer returns the innermost writer the encoder is using. func (enc *Encoder) writer() io.Writer { return enc.w[len(enc.w)-1] }