]> Cypherpunks repositories - gostls13.git/commitdiff
html/template: fix doc typo
authorAndrew Gerrand <adg@golang.org>
Fri, 1 Mar 2013 03:57:59 +0000 (14:57 +1100)
committerAndrew Gerrand <adg@golang.org>
Fri, 1 Mar 2013 03:57:59 +0000 (14:57 +1100)
Fixes #4950.

R=golang-dev, peter
CC=golang-dev
https://golang.org/cl/7415046

src/pkg/html/template/doc.go

index f470facfd0c86c2ae9c1d8e4e8294e8db43c2ff0..d422ada37a78350ecfcfa23714c5dbed07e78956 100644 (file)
@@ -119,7 +119,7 @@ If {{.}} is the innocuous word, `left`, then it can appear more widely,
 Non-string values can be used in JavaScript contexts.
 If {{.}} is
 
-  []struct{A,B string}{ "foo", "bar" }
+  struct{A,B string}{ "foo", "bar" }
 
 in the escaped template