]> Cypherpunks.ru repositories - gostls13.git/commitdiff
encoding/gob: add comma in field comment of userTypeInfo for consistency
authorJes Cok <xigua67damn@gmail.com>
Sat, 2 Sep 2023 00:15:13 +0000 (00:15 +0000)
committerGopher Robot <gobot@golang.org>
Sat, 2 Sep 2023 02:18:51 +0000 (02:18 +0000)
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>

src/encoding/gob/type.go

index 24105c5e1124812c2ee42e39c2b81c6f4b96fde9..2f7254abb9c423b87fdfdd21d39801a82bcfe0a0 100644 (file)
@@ -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
 }