From f26f227f66ff4113cad0cd51c0780e5849e9accc Mon Sep 17 00:00:00 2001
From: Roland Shoemaker
Date: Tue, 1 Dec 2020 13:02:44 -0800
Subject: [PATCH] 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
---
doc/go1.16.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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.
--
2.48.1