diff options
| author | Jes Cok <xigua67damn@gmail.com> | 2023-09-02 00:15:13 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-09-02 02:18:51 +0000 |
| commit | 83fe0e093d5ceebd8320bfeacd2254a2546b2eb9 (patch) | |
| tree | 6c3b6e0e2a47673926f957525c7137b927f3c4a4 /src | |
| parent | 8b88d58042be78b454541dc95dabee6c6e8e1cde (diff) | |
| download | go-83fe0e093d5ceebd8320bfeacd2254a2546b2eb9.tar.xz | |
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 <joetsai@digital-static.net>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/encoding/gob/type.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
