aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/xml
diff options
context:
space:
mode:
authorJohn Bampton <jbampton@gmail.com>2022-05-17 17:09:28 +0000
committerGopher Robot <gobot@golang.org>2022-05-17 19:51:29 +0000
commita6f3f8d97306dc77144b6d3be8cf706c11e2de8f (patch)
tree97640eee93a01cc7e3d906cb1bf6a16cc2934309 /src/encoding/xml
parentc25c37137db98323510752f53e93128809a8767c (diff)
downloadgo-a6f3f8d97306dc77144b6d3be8cf706c11e2de8f.tar.xz
all: fix spelling
Change-Id: I68538a50c22b02cdb5aa2a889f9440fed7b94c54 GitHub-Last-Rev: aaac9e78340ac482e9cd1b506a035f271c29648c GitHub-Pull-Request: golang/go#52944 Reviewed-on: https://go-review.googlesource.com/c/go/+/406835 Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/encoding/xml')
-rw-r--r--src/encoding/xml/xml.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/xml/xml.go b/src/encoding/xml/xml.go
index a7a02f5b57..4a8c154802 100644
--- a/src/encoding/xml/xml.go
+++ b/src/encoding/xml/xml.go
@@ -933,7 +933,7 @@ func (d *Decoder) InputOffset() int64 {
return d.offset
}
-// InputPos retuns the line of the current decoder position and the 1 based
+// InputPos returns the line of the current decoder position and the 1 based
// input position of the line. The position gives the location of the end of the
// most recently returned token.
func (d *Decoder) InputPos() (line, column int) {