From: Roland Shoemaker
Date: Tue, 1 Dec 2020 21:02:44 +0000 (-0800)
Subject: doc/go1.16: add crypto/tls Config.Clone note
X-Git-Tag: go1.16beta1~110
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f26f227f66;p=gostls13.git
doc/go1.16: add crypto/tls Config.Clone note
For #40700
Fixes #42896
Change-Id: I842c9d60b18abe2ee061c6705a5c7ba62b224d77
Reviewed-on: https://go-review.googlesource.com/c/go/+/274613
Trust: Roland Shoemaker
Reviewed-by: Dmitri Shuralyov
---
diff --git a/doc/go1.16.html b/doc/go1.16.html
index ffdbc97c62..2132cbc9c1 100644
--- a/doc/go1.16.html
+++ b/doc/go1.16.html
@@ -405,7 +405,8 @@ Do not send CLs removing the interior tags from such phrases.
- TODO: https://golang.org/cl/246637: make config.Clone return nil if the source is nil
+ Config.Clone
now returns
+ a nil *Config
if the source is nil, rather than panicking.