From e57dd3e1abb58031b3d8bec8beace1560faad397 Mon Sep 17 00:00:00 2001 From: csuzhang Date: Mon, 9 Jan 2023 09:42:53 +0800 Subject: [PATCH] update note --- src/sync/atomic/value.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sync/atomic/value.go b/src/sync/atomic/value.go index 08917061d14..8c491b46162 100644 --- a/src/sync/atomic/value.go +++ b/src/sync/atomic/value.go @@ -41,7 +41,7 @@ func (v *Value) Load() (val any) { var firstStoreInProgress byte -// Store sets the val to v. +// Store sets the value of the Value v to val. // 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(val any) {