From: Robert Griesemer Date: Wed, 19 Sep 2012 17:11:24 +0000 (-0700) Subject: encoding/gob: fix comment X-Git-Tag: go1.1rc2~2400 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=93195e1f314a0c3595e4d0c477f6b0dbcc96f944;p=gostls13.git encoding/gob: fix comment Fixes #4100. R=adg, r, dave CC=golang-dev https://golang.org/cl/6535055 --- diff --git a/src/pkg/encoding/gob/doc.go b/src/pkg/encoding/gob/doc.go index 821d9a3fe8..6d77c171f4 100644 --- a/src/pkg/encoding/gob/doc.go +++ b/src/pkg/encoding/gob/doc.go @@ -118,7 +118,7 @@ elements using the standard gob encoding for their type, recursively. 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 +a map, the receiver will allocate a map even if no elements are transmitted. Structs are sent as a sequence of (field number, field value) pairs. The field