From: Brad Fitzpatrick Date: Sun, 10 Jun 2012 01:30:44 +0000 (-0700) Subject: encoding/gob: fix doc typo X-Git-Tag: go1.1rc2~2948 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1d609f9b9f0c2133cfce86175ad49c8800954a28;p=gostls13.git 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.