1
0
mirror of https://github.com/golang/go synced 2024-11-26 17:46:57 -07:00
go/doc
Josh Bleecher Snyder 52572afa20 reflect,doc: use "the" instead of "a" in IsZero docs
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: Brad Fitzpatrick <bradfitz@golang.org>
2019-06-18 15:08:08 +00:00
..
articles
codewalk doc: fix a typo 2019-02-05 18:11:45 +00:00
devel doc: document Go 1.12.6 2019-06-10 23:23:39 +00:00
gopher
play
progs doc: improve the interface example in Effective Go 2018-11-26 05:08:25 +00:00
asm.html doc: update /doc/asm compiler output example 2019-05-08 15:21:11 +00:00
cmd.html doc: don't use "go tool vet" as an example 2019-02-13 05:35:45 +00:00
code.html doc: use consistent path in example code 2019-05-13 16:34:24 +00:00
conduct.html
contrib.html doc: add 1.12 to the project history 2019-02-26 17:31:55 +00:00
contribute.html doc: fix missing anchor links in contribute.html 2019-06-04 15:30:33 +00:00
debugging_with_gdb.html runtime: support all as parameter in gdb goroutine commands. 2019-04-29 18:11:11 +00:00
diagnostics.html doc: document GODEBUG options to disable use of instruction set extensions 2018-12-18 14:59:36 +00:00
docs.html doc: update docs.html with new tour import path 2018-10-20 14:19:29 +00:00
editors.html doc: fix spelling of comp[]hensive to comp[r]ehensive 2018-10-12 22:59:05 +00:00
effective_go.html doc: add missing paragraph break in Effective Go 2019-03-07 04:46:03 +00:00
gccgo_contribute.html
gccgo_install.html
go1.1.html
go1.2.html
go1.3.html doc: fix typos 2019-02-09 17:34:48 +00:00
go1.4.html
go1.5.html
go1.6.html
go1.7.html
go1.8.html
go1.9.html
go1.10.html
go1.11.html doc/go1.11: add note about go run supporting for go run pkg or go run . 2018-12-05 22:10:41 +00:00
go1.12.html doc: fix typo in go1.12 release notes 2019-04-16 14:47:58 +00:00
go1.13.html reflect,doc: use "the" instead of "a" in IsZero docs 2019-06-18 15:08:08 +00:00
go1.html
go1compat.html
go_faq.html doc/go_faq: fix grammar 2019-04-12 15:22:53 +00:00
go_mem.html doc: go_mem: clarify Once docs 2018-12-21 21:46:38 +00:00
go_spec.html spec: clarify that slice a expression shares underlying array with operand 2019-05-14 22:30:48 +00:00
go-logo-black.png
go-logo-blue.png
go-logo-white.png
help.html doc: remove a Google+ link since it doesn't exist anymore 2019-06-18 03:41:59 +00:00
ie.css
install-source.html cmd/go: document GOBIN and 'go install' locations 2019-06-17 17:28:00 +00:00
install.html doc: clarify to use MinGW-W64 for amd64 systems 2019-04-26 15:09:02 +00:00
root.html
security.html doc: use https scheme in oss-distros link 2018-12-11 00:39:03 +00:00
share.png
tos.html