summaryrefslogtreecommitdiff
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
commitd1f8b0f081382b2910221f1cbb1be1716631ce97 (patch)
treecc96551934248bb07725944be2a296df3153fbab
parent97c72200c216d34313f207d71ccd548dd792a11b (diff)
downloadgo-d1f8b0f081382b2910221f1cbb1be1716631ce97.tar.gz
[release-branch.go1.2] encoding/xml: fix doc comment
??? CL 19300046 / 5ac568b9d67b encoding/xml: fix doc comment The tag is ",chardata" not "chardata". Fixes issue 6631. R=golang-dev, bradfitz CC=golang-dev https://codereview.appspot.com/19300046 ??? R=golang-dev CC=golang-dev https://codereview.appspot.com/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 da7ad3bae..8890508f8 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.
//