]> Cypherpunks repositories - gostls13.git/commitdiff
encoding/gob: fix package doc typo for wireType
authorChen Su <ghosind@gmail.com>
Thu, 25 Jul 2024 07:30:24 +0000 (07:30 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 25 Jul 2024 21:15:30 +0000 (21:15 +0000)
Change-Id: Ib93f2b565e5271dfa3c3ca5d040ef24269c47cf8
GitHub-Last-Rev: 3f1da518a404f5459e38f34427ae9177fe68f51e
GitHub-Pull-Request: golang/go#68584
Reviewed-on: https://go-review.googlesource.com/c/go/+/601036
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/encoding/gob/doc.go

index 30e7978b7c9d0df4d38f34623177b59a65aa73fd..0866ba1544666d9157eb685e7dc962dd2b7d9f34 100644 (file)
@@ -193,14 +193,13 @@ pair (-type id, encoded-type) where encoded-type is the gob encoding of a wireTy
 description, constructed from these types:
 
        type wireType struct {
-               ArrayT           *ArrayType
-               SliceT           *SliceType
-               StructT          *StructType
-               MapT             *MapType
+               ArrayT           *arrayType
+               SliceT           *sliceType
+               StructT          *structType
+               MapT             *mapType
                GobEncoderT      *gobEncoderType
                BinaryMarshalerT *gobEncoderType
                TextMarshalerT   *gobEncoderType
-
        }
        type arrayType struct {
                CommonType
@@ -217,7 +216,7 @@ description, constructed from these types:
        }
        type structType struct {
                CommonType
-               Field []*fieldType // the fields of the struct.
+               Field []fieldType // the fields of the struct.
        }
        type fieldType struct {
                Name string // the name of the field.