aboutsummaryrefslogtreecommitdiff
path: root/src/sync/atomic/value.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/sync/atomic/value.go')
-rw-r--r--src/sync/atomic/value.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync/atomic/value.go b/src/sync/atomic/value.go
index 61f81d8fd3..3500cd22f4 100644
--- a/src/sync/atomic/value.go
+++ b/src/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