• Brad Fitzpatrick's avatar
    all: use "reports whether" consistently in the few places that didn't · 3813edf2
    Brad Fitzpatrick authored
    Go documentation style for boolean funcs is to say:
    
        // Foo reports whether ...
        func Foo() bool
    
    (rather than "returns true if")
    
    This CL also replaces 4 uses of "iff" with the same "reports whether"
    wording, which doesn't lose any meaning, and will prevent people from
    sending typo fixes when they don't realize it's "if and only if". In
    the past I think we've had the typo CLs updated to just say "reports
    whether". So do them all at once.
    
    (Inspired by the addition of another "returns true if" in CL 146938
    in fd_plan9.go)
    
    Created with:
    
    $ perl -i -npe 's/returns true if/reports whether/' $(git grep -l "returns true iff" | grep -v vendor)
    $ perl -i -npe 's/returns true if/reports whether/' $(git grep -l "returns true if" | grep -v vendor)
    
    Change-Id: Ided502237f5ab0d25cb625dbab12529c361a8b9f
    Reviewed-on: https://go-review.googlesource.com/c/147037Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    3813edf2
Name
Last commit
Last update
..
aes Loading commit data...
cipher Loading commit data...
des Loading commit data...
dsa Loading commit data...
ecdsa Loading commit data...
elliptic Loading commit data...
hmac Loading commit data...
internal Loading commit data...
md5 Loading commit data...
rand Loading commit data...
rc4 Loading commit data...
rsa Loading commit data...
sha1 Loading commit data...
sha256 Loading commit data...
sha512 Loading commit data...
subtle Loading commit data...
tls Loading commit data...
x509 Loading commit data...
crypto.go Loading commit data...
issue21104_test.go Loading commit data...