diff options
author | Ian Lance Taylor <iant@golang.org> | 2021-08-19 12:29:54 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-09-05 16:10:51 -0700 |
commit | 74df79ec3e0a1af87e2619fc07533aba58680f0a (patch) | |
tree | 321354569188d7b7de54cd23d3c6785030163cef /libgo/go/sync | |
parent | a827909537cf085e5673ca7816b7bd7151d89fc5 (diff) | |
download | gcc-74df79ec3e0a1af87e2619fc07533aba58680f0a.zip gcc-74df79ec3e0a1af87e2619fc07533aba58680f0a.tar.gz gcc-74df79ec3e0a1af87e2619fc07533aba58680f0a.tar.bz2 |
libgo: update to final Go 1.17 release
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/343729
Diffstat (limited to 'libgo/go/sync')
-rw-r--r-- | libgo/go/sync/atomic/value.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/sync/atomic/value.go b/libgo/go/sync/atomic/value.go index 61f81d8..3500cd2 100644 --- a/libgo/go/sync/atomic/value.go +++ b/libgo/go/sync/atomic/value.go @@ -126,7 +126,7 @@ func (v *Value) Swap(new interface{}) (old interface{}) { } } -// CompareAndSwapPointer executes the compare-and-swap operation for the Value. +// CompareAndSwap executes the compare-and-swap operation for the Value. // // All calls to CompareAndSwap for a given Value must use values of the same // concrete type. CompareAndSwap of an inconsistent type panics, as does |