]> Cypherpunks repositories - gostls13.git/commitdiff
encoding/xml: fix typo in docs
authorAndrew Gerrand <adg@golang.org>
Wed, 10 Jul 2013 00:14:31 +0000 (10:14 +1000)
committerAndrew Gerrand <adg@golang.org>
Wed, 10 Jul 2013 00:14:31 +0000 (10:14 +1000)
Fixes #5843.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/11073043

src/pkg/encoding/xml/read.go

index a7a2a9655bba6743bdadd3d9d2dba8c52ab07104..f960f5649caa7acef81c568b37a4b21450e99bd8 100644 (file)
@@ -57,7 +57,7 @@ import (
 //      If there is no such field, the character data is discarded.
 //
 //   * If the XML element contains comments, they are accumulated in
-//      the first struct field that has tag ",comments".  The struct
+//      the first struct field that has tag ",comment".  The struct
 //      field may have type []byte or string.  If there is no such
 //      field, the comments are discarded.
 //