aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2024-06-18 22:12:35 -0400
committerGopher Robot <gobot@golang.org>2024-06-21 15:46:03 +0000
commit201129414ffc72ce05c170ef2a4627768e890f24 (patch)
treed7a9ad833cc4d929f2a265f0094967234d1f8be6 /src/encoding
parent20b79fd5775c39061d949569743912ad5e58b0e7 (diff)
downloadgo-201129414ffc72ce05c170ef2a4627768e890f24.tar.xz
sync/atomic: correct result names for Or methods
A few of the new Or methods of the atomic types use "new" as the name for the result value, but it actually returns the old value. Fix this by renaming the result values to "old". Updates #61395. Change-Id: Ib08db9964f5dfe91929f216d50ff0c9cc891ee49 Reviewed-on: https://go-review.googlesource.com/c/go/+/593855 Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Austin Clements <austin@google.com> Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions