1
0
mirror of https://github.com/golang/go synced 2024-09-29 08:24:36 -06:00

fix the note

This commit is contained in:
csuzhang 2023-01-08 21:40:18 +08:00
parent f721fa3be9
commit 1e4b7a38dd

View File

@ -41,7 +41,7 @@ func (v *Value) Load() (val any) {
var firstStoreInProgress byte
// Store sets the value of the Value to x.
// Store sets the val to v.
// 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) {