diff options
| author | Rob Pike <r@golang.org> | 2012-04-25 11:33:27 +1000 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2012-04-25 11:33:27 +1000 |
| commit | 459837c86ecf583ea7597b47b1d2591c332440c9 (patch) | |
| tree | eb81d3b8e8faea8e5908b890d99fa4ece225558f /src/pkg/text/template | |
| parent | dde8358a1c504f15a1c17ee0822622ea172f1f3d (diff) | |
| download | go-459837c86ecf583ea7597b47b1d2591c332440c9.tar.xz | |
all: fix errors found by go vet
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6125044
Diffstat (limited to 'src/pkg/text/template')
| -rw-r--r-- | src/pkg/text/template/parse/lex.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/text/template/parse/lex.go b/src/pkg/text/template/parse/lex.go index 5674a940b1..1cf4d739c4 100644 --- a/src/pkg/text/template/parse/lex.go +++ b/src/pkg/text/template/parse/lex.go @@ -348,7 +348,7 @@ Loop: l.backup() word := l.input[l.start:l.pos] if !l.atTerminator() { - return l.errorf("bad character %+U", r) + return l.errorf("bad character %#U", r) } switch { case key[word] > itemKeyword: |
