]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.16: add crypto/tls Config.Clone note
authorRoland Shoemaker <roland@golang.org>
Tue, 1 Dec 2020 21:02:44 +0000 (13:02 -0800)
committerRoland Shoemaker <roland@golang.org>
Wed, 2 Dec 2020 23:27:22 +0000 (23:27 +0000)
For #40700
Fixes #42896

Change-Id: I842c9d60b18abe2ee061c6705a5c7ba62b224d77
Reviewed-on: https://go-review.googlesource.com/c/go/+/274613
Trust: Roland Shoemaker <roland@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
doc/go1.16.html

index ffdbc97c62b5e909cfe88941c488fd05affe8659..2132cbc9c1d026a1753dbb8d9dcd882fbfeb5207 100644 (file)
@@ -405,7 +405,8 @@ Do not send CLs removing the interior tags from such phrases.
     </p>
 
     <p><!-- CL 246637 -->
-      TODO: <a href="https://golang.org/cl/246637">https://golang.org/cl/246637</a>: make config.Clone return nil if the source is nil
+      <a href="/pkg/crypto/tls/#Config.Clone"><code>Config.Clone</code></a> now returns
+      a nil <code>*Config</code> if the source is nil, rather than panicking.
     </p>
   </dd>
 </dl><!-- crypto/tls -->