diff options
author | Rob Pike <r@golang.org> | 2010-02-02 10:53:37 +1100 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2010-02-02 10:53:37 +1100 |
commit | 60889ea454193fee3ad1d7c7d0539827697e3624 (patch) | |
tree | 8f498db4a8c2191481b79772b51d82547316fbf3 /test/bench | |
parent | 9bd745432a661b2de84bf5b3a07992654352c53b (diff) | |
download | golang-60889ea454193fee3ad1d7c7d0539827697e3624.tar.gz |
Change type of Printf's args to ... interface{}
R=rsc
CC=golang-dev
http://codereview.appspot.com/197043
Diffstat (limited to 'test/bench')
-rw-r--r-- | test/bench/pidigits.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bench/pidigits.go b/test/bench/pidigits.go index 430c11828..aaa9f53a5 100644 --- a/test/bench/pidigits.go +++ b/test/bench/pidigits.go @@ -92,7 +92,7 @@ func eliminate_digit(d int64) { bignum.Iscale(numer, 10) } -func printf(s string, arg ...) { +func printf(s string, arg ...interface{}) { if !*silent { fmt.Printf(s, arg) } |