aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorDan Kortschak <dan@kortschak.io>2022-11-05 16:14:08 +1030
committerGopher Robot <gobot@golang.org>2022-11-05 21:02:45 +0000
commit1c05968c9a5d6432fc6f30196528f8f37287dd3d (patch)
tree16784dd98b6df8a2f7ced5c0757cbafbd83cf1a3 /src/encoding
parenta343f4017b501358c202154f074f54d710df6698 (diff)
downloadgo-1c05968c9a5d6432fc6f30196528f8f37287dd3d.tar.xz
all: fix comment typos
Change-Id: Ic16824482142d4de4d0b949459e36505ee944ff7 Reviewed-on: https://go-review.googlesource.com/c/go/+/448175 Reviewed-by: Robert Griesemer <gri@google.com> Run-TryBot: Dan Kortschak <dan@kortschak.io> Auto-Submit: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Dan Kortschak <dan@kortschak.io> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/encoding')
-rw-r--r--src/encoding/xml/read.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/xml/read.go b/src/encoding/xml/read.go
index c2f495581a..43be08eeef 100644
--- a/src/encoding/xml/read.go
+++ b/src/encoding/xml/read.go
@@ -537,7 +537,7 @@ Loop:
consumed := false
if sv.IsValid() {
// unmarshalPath can call unmarshal, so we need to pass the depth through so that
- // we can continue to enforce the maximum recusion limit.
+ // we can continue to enforce the maximum recursion limit.
consumed, err = d.unmarshalPath(tinfo, sv, nil, &t, depth)
if err != nil {
return err