diff options
author | Andrew <andybons@golang.org> | 2020-08-12 17:45:48 -0400 |
---|---|---|
committer | Andrew Bonventre <andybons@golang.org> | 2020-08-13 00:37:54 +0000 |
commit | 91de29ec8f069ceb6cd9e2007db6795ce1cc3506 (patch) | |
tree | 659e9834695b4b2e9b689e7689a27a25efbbd91a | |
parent | 0fdc3801bfd43d6f55e4ea5bf095e1ea55430339 (diff) | |
download | go-91de29ec8f069ceb6cd9e2007db6795ce1cc3506.tar.gz go-91de29ec8f069ceb6cd9e2007db6795ce1cc3506.zip |
[release-branch.go1.15] doc/go1.15: include behavior updates to the context package
Fixes #40737
Change-Id: I8e2c1e1653d427af1ded6d61df1aa450e3c4d35c
Reviewed-on: https://go-review.googlesource.com/c/go/+/248329
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
(cherry picked from commit b2353174db1349f15113416b4df2a833db6058a6)
Reviewed-on: https://go-review.googlesource.com/c/go/+/248331
Reviewed-by: Andrew Gerrand <adg@golang.org>
-rw-r--r-- | doc/go1.15.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/go1.15.html b/doc/go1.15.html index 8872d71138..e7b7456059 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -433,6 +433,19 @@ Do not send CLs removing the interior tags from such phrases. </dd> </dl><!-- bufio --> +<dl id="context"><dt><a href="/pkg/context/">context</a></dt> + <dd> + <p><!-- CL 223777 --> + Creating a derived <code>Context</code> using a nil parent is now explicitly + disallowed. Any attempt to do so with the + <a href="/pkg/context/#WithValue"><code>WithValue</code></a>, + <a href="/pkg/context/#WithDeadline"><code>WithDeadline</code></a>, or + <a href="/pkg/context/#WithCancel"><code>WithCancel</code></a> functions + will cause a panic. + </p> + </dd> +</dl><!-- context --> + <dl id="crypto"><dt><a href="/pkg/crypto/">crypto</a></dt> <dd> <p><!-- CL 231417, CL 225460 --> |