• Josh Bleecher Snyder's avatar
    reflect,doc: use "the" instead of "a" in IsZero docs · 52572afa
    Josh Bleecher Snyder authored
    There is a subtle distinction between a value
    *being* the zero value vs being *equal to* the zero value.
    This was discussed at length in #31450.
    
    Using "a zero value" in the docs suggests that there may
    be more than zero value. That is possible on the "equal to
    zero value" reading, but not the "is zero" reading that we
    selected for the semantics of IsZero.
    
    This change attempts to prevent any confusion on this front by
    switching to "the zero value" in the documentation.
    
    And while we're here, eliminate a double-space.
    (Darn macbook keyboards.)
    
    Change-Id: Iaa02ba297438793f5a90be9919a4d53baef92f8e
    Reviewed-on: https://go-review.googlesource.com/c/go/+/182617
    Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    52572afa
Name
Last commit
Last update
..
all_test.go Loading commit data...
asm_386.s Loading commit data...
asm_amd64.s Loading commit data...
asm_amd64p32.s Loading commit data...
asm_arm.s Loading commit data...
asm_arm64.s Loading commit data...
asm_mips64x.s Loading commit data...
asm_mipsx.s Loading commit data...
asm_ppc64x.s Loading commit data...
asm_s390x.s Loading commit data...
asm_wasm.s Loading commit data...
deepequal.go Loading commit data...
example_test.go Loading commit data...
export_test.go Loading commit data...
makefunc.go Loading commit data...
set_test.go Loading commit data...
swapper.go Loading commit data...
tostring_test.go Loading commit data...
type.go Loading commit data...
value.go Loading commit data...