diff options
author | Robert Griesemer <gri@golang.org> | 2012-09-22 05:55:18 +1000 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2012-09-22 05:55:18 +1000 |
commit | 1a2a921f0a4685550e4543909598fb41d7bfa3c5 (patch) | |
tree | 1a249f6a552e7d8d884bbc5f9c5e24143adfcb97 | |
parent | 32d59a576a3f4cf5ace44378563a6b8036eec0cc (diff) | |
download | go-1a2a921f0a4685550e4543909598fb41d7bfa3c5.tar.gz go-1a2a921f0a4685550e4543909598fb41d7bfa3c5.zip |
[release-branch.go1] encoding/gob: fix comment
««« backport ee8276dbea49
encoding/gob: fix comment
Fixes #4100.
R=adg, r, dave
CC=golang-dev
https://golang.org/cl/6535055
»»»
-rw-r--r-- | src/pkg/encoding/gob/doc.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |