aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/encoding
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2013-07-10 10:14:31 +1000
committerAndrew Gerrand <adg@golang.org>2013-07-10 10:14:31 +1000
commit825373e4f02d415b687806d8f5ebe9bc19f1d336 (patch)
tree3c4808356189d8710058505e73198619f93df711 /src/pkg/encoding
parent6d86c14efab9bdd9d071ac081fa6f8ea62f956c9 (diff)
downloadgo-825373e4f02d415b687806d8f5ebe9bc19f1d336.tar.xz
encoding/xml: fix typo in docs
Fixes #5843. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/11073043
Diffstat (limited to 'src/pkg/encoding')
-rw-r--r--src/pkg/encoding/xml/read.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/encoding/xml/read.go b/src/pkg/encoding/xml/read.go
index a7a2a9655b..f960f5649c 100644
--- a/src/pkg/encoding/xml/read.go
+++ b/src/pkg/encoding/xml/read.go
@@ -57,7 +57,7 @@ import (
// If there is no such field, the character data is discarded.
//
// * If the XML element contains comments, they are accumulated in
-// the first struct field that has tag ",comments". The struct
+// the first struct field that has tag ",comment". The struct
// field may have type []byte or string. If there is no such
// field, the comments are discarded.
//