1
0
mirror of https://github.com/golang/go synced 2024-11-15 00:20:30 -07:00

[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
This commit is contained in:
Andrew Gerrand 2013-11-01 11:28:07 +11:00
parent 71b3aca9fa
commit 6ab0f588a8

View File

@ -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.
//