]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc/go1.20: add code tags in crypto/{rsa,subtle} and net/netip sections
authorTobias Klauser <tklauser@distanz.ch>
Wed, 30 Nov 2022 10:03:47 +0000 (11:03 +0100)
committerGopher Robot <gobot@golang.org>
Thu, 1 Dec 2022 21:01:03 +0000 (21:01 +0000)
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>

doc/go1.20.html

index 173ae95715c065c54da01eea68af2035f3bc270e..077ecda76dbfb84326a5afc22450e10db87e8f36 100644 (file)
@@ -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>.