From 687e047b14b8cfc34c066b7a9548abd105bf8130 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 13 Jun 2012 16:24:58 -0400 Subject: [PATCH] [release-branch.go1] encoding/gob: fix doc typo MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ««« backport d34766b79c5e encoding/gob: fix doc typo R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6300078 »»» --- src/pkg/encoding/gob/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.50.0