1
0
mirror of https://github.com/golang/go synced 2024-11-26 09:38:10 -07:00

runtime/internal/atomic: remove incorrect pointer indirection in comment

Change-Id: I9d743b7f6b001158299bea4af4aede678654bc8e
GitHub-Last-Rev: 7e07834abc
GitHub-Pull-Request: golang/go#46851
Reviewed-on: https://go-review.googlesource.com/c/go/+/329730
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ben Shi <powerman1st@163.com>
This commit is contained in:
Xing Gao 2021-06-22 02:12:29 +00:00 committed by Ian Lance Taylor
parent 63daa774b5
commit 666315b4d3

View File

@ -65,7 +65,7 @@ TEXT ·Xaddint64(SB), NOSPLIT, $0-20
// bool ·Cas64(uint64 *val, uint64 old, uint64 new) // bool ·Cas64(uint64 *val, uint64 old, uint64 new)
// Atomically: // Atomically:
// if(*val == *old){ // if(*val == old){
// *val = new; // *val = new;
// return 1; // return 1;
// } else { // } else {