From: Brad Fitzpatrick Date: Fri, 31 Oct 2014 03:48:57 +0000 (-0300) Subject: sync/atomic: fix comment referencing Value.Store's argument name X-Git-Tag: go1.4rc1~60 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=baa5d26f629a38335df010a1b5098ebdec8af3b8;p=gostls13.git sync/atomic: fix comment referencing Value.Store's argument name Fixes #9029 LGTM=adg, r R=r, adg CC=golang-codereviews https://golang.org/cl/161630044 --- 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{}) {