diff options
author | Russ Cox <rsc@golang.org> | 2009-10-27 22:47:54 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-10-27 22:47:54 -0700 |
commit | 7bc607518c0d27a618ddbbf35d1d636da65bc581 (patch) | |
tree | 59cdfb7c6316bd02d9cfe4e298cf6fc40ffc0c4a /src/pkg/template | |
parent | b1f2d1c110b2d85468637ad06218428e17281ca2 (diff) | |
download | golang-7bc607518c0d27a618ddbbf35d1d636da65bc581.tar.gz |
files that are okay from the last gofmt round
R=gri
http://go/go-review/1015011
Diffstat (limited to 'src/pkg/template')
-rw-r--r-- | src/pkg/template/template_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/template/template_test.go b/src/pkg/template/template_test.go index b17afd26e..23e21e013 100644 --- a/src/pkg/template/template_test.go +++ b/src/pkg/template/template_test.go @@ -59,9 +59,7 @@ func plus1(v interface{}) string { } func writer(f func(interface{}) string) (func(io.Writer, interface{}, string)) { - return func(w io.Writer, v interface{}, format string) { - io.WriteString(w, f(v)); - }; + return func(w io.Writer, v interface{}, format string) { io.WriteString(w, f(v)) }; } |