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 ab46d9a240..ab3aa11285 100644
--- a/src/sync/atomic/value.go
+++ b/src/sync/atomic/value.go
@@ -38,7 +38,7 @@ func (v *Value) Load() (x interface{}) {
return
}
-// Store sets the value of the Value to v.
+// Store sets the value of the Value to x.
// All calls to Store for a given Value must use values of the same concrete type.
// Store of an inconsistent type panics, as does Store(nil).
func (v *Value) Store(x interface{}) {