]> Cypherpunks repositories - gostls13.git/commit
sync/atomic: correct Uintptr.Or return doc
authorMichael Pratt <mpratt@google.com>
Thu, 25 Sep 2025 17:12:12 +0000 (10:12 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 25 Sep 2025 17:29:41 +0000 (10:29 -0700)
commitd70ad4e740e24b4b76961c4b56d698fa23668aa2
tree8675569ceb2c8d91187724d131ae768f9ed5a89f
parentd7abfe4f0dc91568648a66495b9f5d7ebc0f22b5
sync/atomic: correct Uintptr.Or return doc

Uintptr.Or returns the old value, just like all of the other Or
functions. This was a typo in the original CL 544455.

Fixes #75607.

Change-Id: I260959e7e32e51f1152b5271df6cc51adfa02a4d
Reviewed-on: https://go-review.googlesource.com/c/go/+/706816
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
src/sync/atomic/type.go