]> Cypherpunks repositories - gostls13.git/commitdiff
encoding/xml: fix doc comment
authorRuss Cox <rsc@golang.org>
Tue, 29 Oct 2013 21:11:25 +0000 (17:11 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 29 Oct 2013 21:11:25 +0000 (17:11 -0400)
The tag is ",chardata" not "chardata".

Fixes #6631.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/19300046

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