• Martin Möhrmann's avatar
    fmt: make identification of string arguments consistent · 33c0ef2d
    Martin Möhrmann authored
    Use only reflect.TypeOf to detect if argument is a string.
    
    The wasString return is only needed in doPrint with the 'v' verb.
    This type of string detection is handled correctly by reflect.TypeOf
    which is used already in doPrint for identifying a string argument.
    
    Remove now obsolete wasString computations and return values.
    
    Change-Id: Iea2de7ac0f5c536a53eec63f7e679d628f5af8dc
    Reviewed-on: https://go-review.googlesource.com/19976
    Run-TryBot: Rob Pike <r@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRob Pike <r@golang.org>
    33c0ef2d
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...