src/sync/atomic/value.go | 2 +- diff --git a/src/sync/atomic/value.go b/src/sync/atomic/value.go index 61f81d8fd377b06e49e49b70bf88918589766998..3500cd22f4e74e7991d4f9cfca1ea6856695b722 100644 --- a/src/sync/atomic/value.go +++ b/src/sync/atomic/value.go @@ -126,7 +126,7 @@ return old } } -// 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