aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2013-11-01 11:28:07 +1100
committerAndrew Gerrand <adg@golang.org>2013-11-01 11:28:07 +1100
commit6ab0f588a89ecde66607c0dcefd44de2b9a47dd0 (patch)
treeaab3560977b1da47bf8d82390cb4f7afa6ab1000
parent71b3aca9fa3d0c37e08dda2afc359b77e9e6a45e (diff)
downloadgo-6ab0f588a89ecde66607c0dcefd44de2b9a47dd0.tar.gz
go-6ab0f588a89ecde66607c0dcefd44de2b9a47dd0.zip
[release-branch.go1.2] encoding/xml: fix doc comment
««« CL 19300046 / 5ac568b9d67b encoding/xml: fix doc comment The tag is ",chardata" not "chardata". Fixes #6631. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/19300046 »»» R=golang-dev CC=golang-dev https://golang.org/cl/20060045
-rw-r--r--src/pkg/encoding/xml/read.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/encoding/xml/read.go b/src/pkg/encoding/xml/read.go
index da7ad3baed..8890508f85 100644
--- a/src/pkg/encoding/xml/read.go
+++ b/src/pkg/encoding/xml/read.go
@@ -53,7 +53,7 @@ import (
// Unmarshal records the attribute value in that field.
//
// * If the XML element contains character data, that data is
-// accumulated in the first struct field that has tag "chardata".
+// accumulated in the first struct field that has tag ",chardata".
// The struct field may have type []byte or string.
// If there is no such field, the character data is discarded.
//