]> Cypherpunks repositories - gostls13.git/commitdiff
template: fix typo in doc comment
authorDaniel Fleischman <danielfleischman@gmail.com>
Thu, 1 Jul 2010 02:57:26 +0000 (19:57 -0700)
committerRuss Cox <rsc@golang.org>
Thu, 1 Jul 2010 02:57:26 +0000 (19:57 -0700)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/1665047

src/pkg/template/template.go

index 334559c13ca6d8d682549f25f6fb6cf5c7a099f1..a615b7b418b6a1ab097ef1d42789c39c0e48623b 100644 (file)
@@ -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.
 */