diff options
| author | Alex S <hlcfan.yan@gmail.com> | 2025-04-14 13:37:21 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-04-15 04:38:58 -0700 |
| commit | 57508059e80123499d2efbaeeed630f0263380e1 (patch) | |
| tree | cf8862fe05d4cdb3cfa3dc62cacf835e7534064c /src/encoding/json | |
| parent | e0dba45c620866bb16cd0db2c51732f03a9b27f3 (diff) | |
| download | go-57508059e80123499d2efbaeeed630f0263380e1.tar.xz | |
encoding/json: correct method comment to reflect actual argument
Change-Id: I0e9040ee5b84463f0391e8e4ae1b64a036867913
GitHub-Last-Rev: 859c82a254f49fa4b5376c0e8fff6f62f5131f62
GitHub-Pull-Request: golang/go#73123
Reviewed-on: https://go-review.googlesource.com/c/go/+/662015
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Diffstat (limited to 'src/encoding/json')
| -rw-r--r-- | src/encoding/json/scanner.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/json/scanner.go b/src/encoding/json/scanner.go index da6ea2ac8f..3445dbf2bb 100644 --- a/src/encoding/json/scanner.go +++ b/src/encoding/json/scanner.go @@ -173,7 +173,7 @@ func (s *scanner) eof() int { return scanError } -// pushParseState pushes a new parse state p onto the parse stack. +// pushParseState pushes a new parse state newParseState onto the parse stack. // an error state is returned if maxNestingDepth was exceeded, otherwise successState is returned. func (s *scanner) pushParseState(c byte, newParseState int, successState int) int { s.parseState = append(s.parseState, newParseState) |
