diff options
Diffstat (limited to 'src/encoding/json/v2/errors.go')
| -rw-r--r-- | src/encoding/json/v2/errors.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
