Skip to content

Commit f26f227

Browse files
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 <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 48838c3 commit f26f227

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/go1.16.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,8 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
405405
</p>
406406

407407
<p><!-- CL 246637 -->
408-
TODO: <a href="https://golang.org/cl/246637">https://golang.org/cl/246637</a>: make config.Clone return nil if the source is nil
408+
<a href="/pkg/crypto/tls/#Config.Clone"><code>Config.Clone</code></a> now returns
409+
a nil <code>*Config</code> if the source is nil, rather than panicking.
409410
</p>
410411
</dd>
411412
</dl><!-- crypto/tls -->

0 commit comments

Comments
 (0)