Skip to content

Commit 666315b

Browse files
yigenshutiaoianlancetaylor
authored andcommitted
runtime/internal/atomic: remove incorrect pointer indirection in comment
Change-Id: I9d743b7f6b001158299bea4af4aede678654bc8e GitHub-Last-Rev: 7e07834 GitHub-Pull-Request: #46851 Reviewed-on: https://go-review.googlesource.com/c/go/+/329730 Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Ben Shi <[email protected]>
1 parent 63daa77 commit 666315b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/internal/atomic/atomic_386.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ TEXT ·Xaddint64(SB), NOSPLIT, $0-20
6565

6666
// bool ·Cas64(uint64 *val, uint64 old, uint64 new)
6767
// Atomically:
68-
// if(*val == *old){
68+
// if(*val == old){
6969
// *val = new;
7070
// return 1;
7171
// } else {

0 commit comments

Comments
 (0)