From a4b534f5e42fe58d58c0ff0562d76680cedb0466 Mon Sep 17 00:00:00 2001 From: cuishuang Date: Sat, 28 Mar 2026 16:50:11 +0800 Subject: all: fix some minor issues in the comments Change-Id: If6c304efac7a46a9718cdc63ded3d98a26a3a831 Reviewed-on: https://go-review.googlesource.com/c/go/+/760700 LUCI-TryBot-Result: Go LUCI Auto-Submit: Robert Griesemer Reviewed-by: Neal Patel Reviewed-by: Fred Sauer Reviewed-by: Junyang Shao Reviewed-by: Robert Griesemer --- src/encoding/json/v2/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/encoding/json/v2/errors.go') diff --git a/src/encoding/json/v2/errors.go b/src/encoding/json/v2/errors.go index da50bc30fc..599a274b53 100644 --- a/src/encoding/json/v2/errors.go +++ b/src/encoding/json/v2/errors.go @@ -165,7 +165,7 @@ func newUnmarshalErrorAfter(d *jsontext.Decoder, t reflect.Type, err error) erro JSONKind: jsontext.Value(tokOrVal).Kind()} } -// newUnmarshalErrorAfter wraps err in a SemanticError assuming that d +// newUnmarshalErrorAfterWithValue wraps err in a SemanticError assuming that d // is positioned right after the previous token or value, which caused an error. // It also stores a copy of the last JSON value if it is a string or number. func newUnmarshalErrorAfterWithValue(d *jsontext.Decoder, t reflect.Type, err error) error { -- cgit v1.3