From: Chen Su Date: Thu, 25 Jul 2024 07:30:24 +0000 (+0000) Subject: encoding/gob: fix package doc typo for wireType X-Git-Tag: go1.24rc1~1396 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d69a0883d4c99958d13b14fc02a805e1bc634631;p=gostls13.git encoding/gob: fix package doc typo for wireType 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 Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov --- diff --git a/src/encoding/gob/doc.go b/src/encoding/gob/doc.go index 30e7978b7c..0866ba1544 100644 --- a/src/encoding/gob/doc.go +++ b/src/encoding/gob/doc.go @@ -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.