]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1.2] encoding/xml: fix doc comment
authorAndrew Gerrand <adg@golang.org>
Fri, 1 Nov 2013 00:28:07 +0000 (11:28 +1100)
committerAndrew Gerrand <adg@golang.org>
Fri, 1 Nov 2013 00:28:07 +0000 (11:28 +1100)
««« 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

src/pkg/encoding/xml/read.go

index da7ad3baedc28ee0a755c26a61280aed9309f08c..8890508f8555b5b2e3847a4d133ca249862bb153 100644 (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.
 //