]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1] encoding/gob: fix comment
authorRobert Griesemer <gri@golang.org>
Fri, 21 Sep 2012 19:55:18 +0000 (05:55 +1000)
committerRobert Griesemer <gri@golang.org>
Fri, 21 Sep 2012 19:55:18 +0000 (05:55 +1000)
««« backport ee8276dbea49
encoding/gob: fix comment

Fixes #4100.

R=adg, r, dave
CC=golang-dev
https://golang.org/cl/6535055

»»»

src/pkg/encoding/gob/doc.go

index 821d9a3fe8ef1a9890836942758c0c5b675fb3cb..6d77c171f412739f599ddbb73df3f804f01e7558 100644 (file)
@@ -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