mirror of
https://github.com/golang/go
synced 2024-11-15 02:10:21 -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:
parent
71b3aca9fa
commit
6ab0f588a8
@ -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.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user