aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2018-07-19 11:06:56 +0100
committerAndrew Bonventre <andybons@golang.org>2018-07-19 14:33:23 +0000
commitf3582de3a0d4d9fb14763494cc4def548042274f (patch)
treedb616b8f7e8bda0794c44b0cd59df95d9815f520
parent2fe2aa0983588686d11fbeedeb5acaa3fe96d03e (diff)
downloadgo-f3582de3a0d4d9fb14763494cc4def548042274f.tar.gz
go-f3582de3a0d4d9fb14763494cc4def548042274f.zip
doc: remove paragraph about text/template/parse
The backwards incompatible changes were undone in CL 120355, while still preserving the additions needed for assignments in templates to work. Change-Id: Ie76a798916ef36509c88e171a04bb2cf2a3d7e8e Reviewed-on: https://go-review.googlesource.com/124917 Reviewed-by: Andrew Bonventre <andybons@golang.org>
-rw-r--r--doc/go1.11.html6
1 files changed, 0 insertions, 6 deletions
diff --git a/doc/go1.11.html b/doc/go1.11.html
index 3be9c40fc2..0266efa386 100644
--- a/doc/go1.11.html
+++ b/doc/go1.11.html
@@ -815,12 +815,6 @@ for k := range m {
{{"{{"}} end {{"}}"}}
v: {{"{{"}} $v {{"}}"}} {{"{{"}}/* "changed" */{{"}}"}}</pre>
- <p>
- This required backwards-incompatible changes to the <code>text/template/parse</code>
- package, but was deemed acceptable since the package's documentation clearly states
- that it isn't intended for general use.
- </p>
-
<p><!-- CL 95215 -->
In previous versions untyped <code>nil</code> values passed to
template functions were ignored. They are now passed as normal