From 91de29ec8f069ceb6cd9e2007db6795ce1cc3506 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 12 Aug 2020 17:45:48 -0400 Subject: [PATCH] [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 TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor (cherry picked from commit b2353174db1349f15113416b4df2a833db6058a6) Reviewed-on: https://go-review.googlesource.com/c/go/+/248331 Reviewed-by: Andrew Gerrand --- doc/go1.15.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/go1.15.html b/doc/go1.15.html index 8872d7113884ca..e7b74560599758 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -433,6 +433,19 @@

Minor changes to the library

+
context
+
+

+ Creating a derived Context using a nil parent is now explicitly + disallowed. Any attempt to do so with the + WithValue, + WithDeadline, or + WithCancel functions + will cause a panic. +

+
+
+
crypto