1
0
mirror of https://github.com/golang/go synced 2024-11-26 01:07:57 -07:00

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 <roland@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Roland Shoemaker 2020-12-01 13:02:44 -08:00
parent 48838c35dc
commit f26f227f66

View 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 -->