]> Cypherpunks repositories - gostls13.git/commit
encoding/json: use builtin min function in appendString
authorJes Cok <xigua67damn@gmail.com>
Fri, 21 Feb 2025 14:18:52 +0000 (14:18 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 25 Feb 2025 19:49:13 +0000 (11:49 -0800)
commit97571f36103b045a7e9c15a92e9a35ab95fa6be5
tree29b3bc86c9923d2e7c123b55de19d7a129c32893
parentf707e53fd52284e58b9ea5d7889ad360d34d5116
encoding/json: use builtin min function in appendString

To make code a bit simpler.

Change-Id: I59fca1d5760e304abd53873ecf9ca8b2903e02e8
GitHub-Last-Rev: 1369df6da16121c342a4e678efe3e5b082485b74
GitHub-Pull-Request: golang/go#71873
Reviewed-on: https://go-review.googlesource.com/c/go/+/651355
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/encoding/json/encode.go