summaryrefslogtreecommitdiff
path: root/src/pkg/template
diff options
context:
space:
mode:
authorDaniel Fleischman <danielfleischman@gmail.com>2010-06-30 19:57:26 -0700
committerDaniel Fleischman <danielfleischman@gmail.com>2010-06-30 19:57:26 -0700
commit526f7961f29a8ae0aa3385fce9af5f9b87ce30bd (patch)
treeae5fbc3c4050fedefbcce9d67aaa75c1d135479c /src/pkg/template
parente916e0c1f1bfe728be44283cf6e126260f360378 (diff)
downloadgolang-526f7961f29a8ae0aa3385fce9af5f9b87ce30bd.tar.gz
template: fix typo in doc comment
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/1665047 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/pkg/template')
-rw-r--r--src/pkg/template/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/template/template.go b/src/pkg/template/template.go
index 334559c13..a615b7b41 100644
--- a/src/pkg/template/template.go
+++ b/src/pkg/template/template.go
@@ -54,7 +54,7 @@
map passed to the template set up routines or in the default
set ("html","str","") and is used to process the data for
output. The formatter function has signature
- func(wr io.Write, data interface{}, formatter string)
+ func(wr io.Writer, data interface{}, formatter string)
where wr is the destination for output, data is the field
value, and formatter is its name at the invocation site.
*/