summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2022-11-30 11:03:47 +0100
committerGopher Robot <gobot@golang.org>2022-12-01 21:01:03 +0000
commitc71d3a0f507555a268791f0597e89e3e0e2c0de7 (patch)
tree83636d753350ba74319df1371151511e1aacaf92 /doc
parentcd133abc5b5cd37f4ac796d86f9e9dbb913903d8 (diff)
downloadgo-git-c71d3a0f507555a268791f0597e89e3e0e2c0de7.tar.gz
doc/go1.20: add code tags in crypto/{rsa,subtle} and net/netip sections
Change-Id: I516195fb1c2434feb3bf130d37012a98d77beeb6 Reviewed-on: https://go-review.googlesource.com/c/go/+/454235 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Russ Cox <rsc@golang.org> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.20.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/go1.20.html b/doc/go1.20.html
index 173ae95715..077ecda76d 100644
--- a/doc/go1.20.html
+++ b/doc/go1.20.html
@@ -587,7 +587,7 @@ proxyHandler := &httputil.ReverseProxy{
<dl id="crypto/rsa"><dt><a href="/pkg/crypto/rsa/">crypto/rsa</a></dt>
<dd>
<p><!-- CL 418874, https://go.dev/issue/19974 -->
- The new field <a href="/pkg/crypto/rsa/#OAEPOptions.MGFHash">OAEPOptions.MGFHash</a>
+ The new field <a href="/pkg/crypto/rsa/#OAEPOptions.MGFHash"><code>OAEPOptions.MGFHash</code></a>
allows configuring the MGF1 hash separately for OAEP encryption.
</p>
</dd>
@@ -596,7 +596,7 @@ proxyHandler := &httputil.ReverseProxy{
<dl id="crypto/subtle"><dt><a href="/pkg/crypto/subtle/">crypto/subtle</a></dt>
<dd>
<p><!-- https://go.dev/issue/53021, CL 421435 -->
- The new function <a href="/pkg/crypto/subtle/#XORBytes">XORBytes</a>
+ The new function <a href="/pkg/crypto/subtle/#XORBytes"><code>XORBytes</code></a>
XORs two byte slices together.
</p>
</dd>
@@ -905,8 +905,8 @@ proxyHandler := &httputil.ReverseProxy{
<dl id="net/netip"><dt><a href="/pkg/net/netip/">net/netip</a></dt>
<dd>
<p><!-- https://go.dev/issue/51766, https://go.dev/issue/51777, CL 412475 -->
- The new <a href="/pkg/net/netip/#IPv6LinkLocalAllRouters">IPv6LinkLocalAllRouters</a>
- and <a href="/pkg/net/netip/#IPv6Loopback">IPv6Loopback</a> functions
+ The new <a href="/pkg/net/netip/#IPv6LinkLocalAllRouters"><code>IPv6LinkLocalAllRouters</code></a>
+ and <a href="/pkg/net/netip/#IPv6Loopback"><code>IPv6Loopback</code></a> functions
are the <code>net/netip</code> equivalents of
<a href="/pkg/net/#IPv6loopback"><code>net.IPv6loopback</code></a> and
<a href="/pkg/net/#IPv6linklocalallrouters"><code>net.IPv6linklocalallrouters</code></a>.