]> Cypherpunks.ru repositories - gostls13.git/commit
text/template/parse: remove redundant return
authorAriel Mashraki <ariel@mashraki.co.il>
Thu, 23 Jan 2020 21:00:29 +0000 (23:00 +0200)
committerRob Pike <r@golang.org>
Thu, 23 Jan 2020 23:07:10 +0000 (23:07 +0000)
commit8d7be1e3c9a98191f8c900087025c5e78b73d962
tree7e928db6abfc1c7aee99c32984a1acd8faa1b994
parent953bc8f391a63adf00bac2515dba62abe8a1e2c2
text/template/parse: remove redundant return

Change the `itemChar` clause to be like all other clauses
that don't return a different state function than the default.

Change-Id: I56c863a7d699c1264b24b42ef23138ec47eaacd8
Reviewed-on: https://go-review.googlesource.com/c/go/+/216117
Reviewed-by: Rob Pike <r@golang.org>
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/text/template/parse/lex.go