go/src/pkg/mime
Rob Pike abe384f68a 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.

These were edited by hand. A few were cleaned up in other ways.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/11699043
2013-07-23 11:59:49 +10:00
..
multipart all: be more idiomatic when documenting boolean return values. 2013-07-23 11:59:49 +10:00
testdata mime: add support for Plan 9 2013-06-04 17:30:45 -07:00
grammar.go pkg: Removing duplicated words ("of of", etc.), mostly from comments. 2012-07-09 09:16:10 +10:00
mediatype.go mime: make ParseMediaType return zero results on error 2012-04-25 12:01:01 -07:00
mediatype_test.go mime: make ParseMediaType return zero results on error 2012-04-25 12:01:01 -07:00
type.go mime: make FormatMediaType take full type for consistency 2012-01-17 11:57:42 -08:00
type_plan9.go mime: add support for Plan 9 2013-06-04 17:30:45 -07:00
type_test.go
type_unix.go mime: add support for Plan 9 2013-06-04 17:30:45 -07:00
type_windows.go mime: do not test for .wav on windows 2013-02-15 16:55:51 +11:00