commit | cfa036ae3adffb56a2d93a074b97025a16519463 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Tue Oct 25 22:22:42 2011 -0700 |
committer | Russ Cox <rsc@golang.org> | Tue Oct 25 22:22:42 2011 -0700 |
tree | fb5c3b94d8ea596409de9c7467ac19f0a473aa51 | |
parent | 4911622055d1bcc88182a0c3292115e33c299814 [diff] [blame] |
old/regexp, old/template, template: use rune Nothing terribly interesting here. R=r, gri CC=golang-dev https://golang.org/cl/5308042
diff --git a/src/pkg/template/exec_test.go b/src/pkg/template/exec_test.go index 50b0ad2..6c19f11 100644 --- a/src/pkg/template/exec_test.go +++ b/src/pkg/template/exec_test.go
@@ -644,7 +644,7 @@ if err != nil { t.Fatal("exec error:", err) } - stripSpace := func(r int) int { + stripSpace := func(r rune) rune { if r == '\t' || r == '\n' { return -1 }