diff options
author | Brad Fitzpatrick <bradfitz@golang.org> | 2014-10-31 00:48:57 -0300 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2014-10-31 00:48:57 -0300 |
commit | 143d4bbd218877e2be4705c633e0d3df03678812 (patch) | |
tree | 15478eea4bacc29c55da4b6117bf538454b1187b /src/sync/atomic | |
parent | 0c0ed81463951ae39a65591319501dc1d44037e0 (diff) | |
download | go-143d4bbd218877e2be4705c633e0d3df03678812.tar.gz |
sync/atomic: fix comment referencing Value.Store's argument name
Fixes Issue 9029
LGTM=adg, r
R=r, adg
CC=golang-codereviews
https://codereview.appspot.com/161630044
Diffstat (limited to 'src/sync/atomic')
-rw-r--r-- | src/sync/atomic/value.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync/atomic/value.go b/src/sync/atomic/value.go index ab46d9a24..ab3aa1128 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{}) { |