]> Cypherpunks repositories - gostls13.git/commit
pkg: remove .String() from some print arguments
authorRuss Cox <rsc@golang.org>
Fri, 28 Oct 2011 01:03:52 +0000 (18:03 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 28 Oct 2011 01:03:52 +0000 (18:03 -0700)
commit32f3770ec51a8317214ac5b3725fb827c5b98e86
tree6ce0932936b86a5c726e91887be11a9cdc52a713
parent053549ca1bd77aeaff45ddb574a9f5593962e0d5
pkg: remove .String() from some print arguments

I found these by adding a check to govet, but the check
produces far too many false positives to be useful.
Even so, these few seem worth cleaning up.

R=golang-dev, bradfitz, iant
CC=golang-dev
https://golang.org/cl/5311067
src/pkg/crypto/bcrypt/bcrypt_test.go
src/pkg/exp/gui/x11/conn.go
src/pkg/expvar/expvar.go
src/pkg/go/ast/print.go
src/pkg/go/scanner/errors.go
src/pkg/go/scanner/scanner_test.go
src/pkg/gob/decode.go
src/pkg/gob/encode.go
src/pkg/smtp/smtp_test.go
src/pkg/strconv/fp_test.go