• Rob Pike's avatar
    all: be more idiomatic when documenting boolean return values. · abe384f6
    Rob Pike authored
    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
    abe384f6
Name
Last commit
Last update
..
codec_test.go Loading commit data...
debug.go Loading commit data...
decode.go Loading commit data...
decoder.go Loading commit data...
doc.go Loading commit data...
dump.go Loading commit data...
encode.go Loading commit data...
encoder.go Loading commit data...
encoder_test.go Loading commit data...
error.go Loading commit data...
gobencdec_test.go Loading commit data...
timing_test.go Loading commit data...
type.go Loading commit data...
type_test.go Loading commit data...