]> Cypherpunks repositories - gostls13.git/commit
text/template: remove associate's error return
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 19 Feb 2018 21:03:12 +0000 (21:03 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 19 Feb 2018 22:43:56 +0000 (22:43 +0000)
commiteb5925f5ff6e3690ce2d9fa680829560cbb11970
tree4f25be2effe86450c7f47777013cd47bdcaef686
parentb657c0024393643bd98c066cec6fbd3a057ae21c
text/template: remove associate's error return

It's always nil, so simplify its signature. Found with unparam.

Change-Id: I45dd0f868ec2f5de98a970776be686417c8d73b6
Reviewed-on: https://go-review.googlesource.com/95235
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/text/template/template.go