1
0
mirror of https://github.com/golang/go synced 2024-11-25 07:57:56 -07:00

encoding/gob: fix doc typo

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/6300078
This commit is contained in:
Brad Fitzpatrick 2012-06-09 18:30:44 -07:00
parent 0b09425b5c
commit 1d609f9b9f

View File

@ -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.