1
0
mirror of https://github.com/golang/go synced 2024-11-05 15:56:12 -07:00
go/godoc/util
Rob Pike 9ac8940d29 all: be more idiomatic when documenting boolean return values.
Phrases like "returns whether or not the image is opaque" could be
describing what the function does (it always returns, regardless of
the opacity) or what it returns (a boolean indicating the opacity).
Even when the "or not" is missing, the phrasing is bizarre.

Go with "reports whether", which is still clunky but at least makes
it clear we're talking about the return value.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/11458046
2013-07-23 10:37:43 +10:00
..
throttle.go go.tools/godoc: move Throttle to package godoc/util 2013-07-17 15:23:31 +10:00
util.go all: be more idiomatic when documenting boolean return values. 2013-07-23 10:37:43 +10:00