diff options
author | Nigel Tao <nigeltao@golang.org> | 2010-06-03 00:56:53 -0700 |
---|---|---|
committer | Nigel Tao <nigeltao@golang.org> | 2010-06-03 00:56:53 -0700 |
commit | e25a2852bf1a9d9d8b5a97781df4aa43f07ea014 (patch) | |
tree | b936f6b08d5d83a95e77001c8c6c38aa23eb1a41 /src/pkg/xml/xml.go | |
parent | 782ef98ee931b10e8454928455f93cf5859ac361 (diff) | |
download | golang-e25a2852bf1a9d9d8b5a97781df4aa43f07ea014.tar.gz |
Fix typo in xml comments.
R=rsc
CC=golang-dev
http://codereview.appspot.com/1503041
Diffstat (limited to 'src/pkg/xml/xml.go')
-rw-r--r-- | src/pkg/xml/xml.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/xml/xml.go b/src/pkg/xml/xml.go index 44c42c035..cd67f6e26 100644 --- a/src/pkg/xml/xml.go +++ b/src/pkg/xml/xml.go @@ -158,9 +158,8 @@ type Parser struct { // "lt": "<", // "gt": ">", // "amp": "&", - // "pos": "'", + // "apos": "'", // "quot": `"`, - // Entity map[string]string r io.ReadByter @@ -222,7 +221,6 @@ func NewParser(r io.Reader) *Parser { // set to the URL identifying its name space when known. // If Token encounters an unrecognized name space prefix, // it uses the prefix as the Space rather than report an error. -// func (p *Parser) Token() (t Token, err os.Error) { if p.nextToken != nil { t = p.nextToken |