• Kevin Burke's avatar
    cmd/vet: remove "only" from error message · 6b55407d
    Kevin Burke authored
    If the vetted function supplies zero arguments, previously you would
    get an error message like this:
    
        Printf format %v reads arg #1, but call has only 0 args
    
    "has only 0 args" is an odd construction, and "has 0 args" sounds
    better. Getting rid of "only" in all cases simplifies the code and
    reads just as well.
    
    Change-Id: I4706dfe4a75f13bf4db9c0650e459ca676710752
    Reviewed-on: https://go-review.googlesource.com/109457
    Run-TryBot: Kevin Burke <kev@inburke.com>
    Run-TryBot: David Symonds <dsymonds@golang.org>
    Reviewed-by: 's avatarDavid Symonds <dsymonds@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    6b55407d
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...