diff options
| author | Russ Cox <rsc@golang.org> | 2013-10-29 17:11:25 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2013-10-29 17:11:25 -0400 |
| commit | 2e984c2180ae6ae2b1cc678ca9f5b4d6b0fc3747 (patch) | |
| tree | 1b42e29aa38f3bd199cb32b1df6dbf10e0a88612 /src | |
| parent | 1428045469302d81a6bc19ae9f1dd1e2905ea855 (diff) | |
| download | go-2e984c2180ae6ae2b1cc678ca9f5b4d6b0fc3747.tar.xz | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/pkg/encoding/xml/read.go | 2 |
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. // |
