From: Brad Fitzpatrick Date: Wed, 13 Jun 2012 20:24:58 +0000 (-0400) Subject: [release-branch.go1] encoding/gob: fix doc typo X-Git-Tag: go1.0.2~8 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=687e047b14b8cfc34c066b7a9548abd105bf8130;p=gostls13.git [release-branch.go1] encoding/gob: fix doc typo ««« backport d34766b79c5e encoding/gob: fix doc typo R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6300078 »»» --- diff --git a/src/pkg/encoding/gob/doc.go b/src/pkg/encoding/gob/doc.go index 96885f8ded..821d9a3fe8 100644 --- a/src/pkg/encoding/gob/doc.go +++ b/src/pkg/encoding/gob/doc.go @@ -116,7 +116,7 @@ uninterpreted bytes of the value. All other slices and arrays are sent as an unsigned count followed by that many elements using the standard gob encoding for their type, recursively. -Maps are sent as an unsigned count followed by that man key, element +Maps are sent as an unsigned count followed by that many key, element pairs. Empty but non-nil maps are sent, so if the sender has allocated a map, the receiver will allocate a map even no elements are transmitted.