]> Cypherpunks repositories - gostls13.git/commit
encoding/json: use isSpace in stateEndTop
authorGabriel Aszalos <gabriel.aszalos@gmail.com>
Sat, 30 Jun 2018 16:12:24 +0000 (18:12 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 6 Oct 2018 15:40:02 +0000 (15:40 +0000)
commit9f193fbe31d7ffa5f6e71a6387cbcf4636306660
tree3b9f4d9ce3bf246519de8a2ea1bca3c52103871b
parent8aee193fb8b61d474a7e3e6d43625f4e746c5b65
encoding/json: use isSpace in stateEndTop

This change makes stateEndTop use isSpace instead of specifically
recreating the same functionality.

Change-Id: I81f8f51682e46e7f8e2b9fed423a968457200625
Reviewed-on: https://go-review.googlesource.com/c/121797
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/encoding/json/scanner.go