From 83fe0e093d5ceebd8320bfeacd2254a2546b2eb9 Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Sat, 2 Sep 2023 00:15:13 +0000 Subject: [PATCH] encoding/gob: add comma in field comment of userTypeInfo for consistency Change-Id: I80c494a357195dad3ade98fcce0a6883303777ce GitHub-Last-Rev: a30615f3733fb0a43628cc81df7ad286e789b445 GitHub-Pull-Request: golang/go#62422 Reviewed-on: https://go-review.googlesource.com/c/go/+/524998 Run-TryBot: Joseph Tsai Reviewed-by: Ian Lance Taylor Reviewed-by: Joseph Tsai Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI TryBot-Result: Gopher Robot Auto-Submit: Ian Lance Taylor --- src/encoding/gob/type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encoding/gob/type.go b/src/encoding/gob/type.go index 24105c5e11..2f7254abb9 100644 --- a/src/encoding/gob/type.go +++ b/src/encoding/gob/type.go @@ -24,7 +24,7 @@ type userTypeInfo struct { base reflect.Type // the base type after all indirections indir int // number of indirections to reach the base type externalEnc int // xGob, xBinary, or xText - externalDec int // xGob, xBinary or xText + externalDec int // xGob, xBinary, or xText encIndir int8 // number of indirections to reach the receiver type; may be negative decIndir int8 // number of indirections to reach the receiver type; may be negative } -- 2.50.0