aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoding')
-rw-r--r--src/encoding/gob/encode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/gob/encode.go b/src/encoding/gob/encode.go
index 38430342b6..abc76701ca 100644
--- a/src/encoding/gob/encode.go
+++ b/src/encoding/gob/encode.go
@@ -465,7 +465,7 @@ func isZero(val reflect.Value) bool {
panic("unknown type in isZero " + val.Type().String())
}
-// encGobEncoder encodes a value that implements the GobEncoder interface.
+// encodeGobEncoder encodes a value that implements the GobEncoder interface.
// The data is sent as a byte array.
func (enc *Encoder) encodeGobEncoder(b *encBuffer, ut *userTypeInfo, v reflect.Value) {
// TODO: should we catch panics from the called method?