]> Cypherpunks repositories - gostls13.git/commitdiff
text/template: clarify the default formatting used for values
authorRob Pike <r@golang.org>
Mon, 20 Jun 2016 22:39:03 +0000 (15:39 -0700)
committerRob Pike <r@golang.org>
Tue, 21 Jun 2016 02:15:44 +0000 (02:15 +0000)
Fixes #16105.

Change-Id: I94467f2adf861eb38f3119ad30d46a87456d5305
Reviewed-on: https://go-review.googlesource.com/24281
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/text/template/doc.go

index 48e9aa7395cec9c4f9c6ec85350dc72d1100cbb2..fe59e3f74e87d7667e2d1f571a5a237d4539284a 100644 (file)
@@ -74,8 +74,9 @@ data, defined in detail in the corresponding sections that follow.
 /*
 
        {{pipeline}}
-               The default textual representation of the value of the pipeline
-               is copied to the output.
+               The default textual representation (the same as would be
+               printed by fmt.Print) of the value of the pipeline is copied
+               to the output.
 
        {{if pipeline}} T1 {{end}}
                If the value of the pipeline is empty, no output is generated;