]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.22: fix method name in net/netip changes
authorTobias Klauser <tklauser@distanz.ch>
Wed, 17 Jan 2024 23:29:48 +0000 (00:29 +0100)
committerGopher Robot <gobot@golang.org>
Mon, 22 Jan 2024 16:54:48 +0000 (16:54 +0000)
Change-Id: Icbeb911aad8bd23399b5afb66b3babed018368e9
Reviewed-on: https://go-review.googlesource.com/c/go/+/556595
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>

doc/go1.22.html

index ae3ac728e3700c5400a7a62b141f691bdb7f7fe4..b62412a33133f6d67047a17a245adad4017ee2d1 100644 (file)
@@ -758,8 +758,8 @@ We plan to include an API migration tool in a future release, likely Go 1.23.
 <dl id="net/netip"><dt><a href="/pkg/net/netip/">net/netip</a></dt>
   <dd>
     <p><!-- https://go.dev/issue/61642 -->
-      The new <a href="/pkg/net/netip#AddrPort.Compare"><code>AddrPort</code></a>
-      function compares two <code>AddrPort</code>s.
+      The new <a href="/pkg/net/netip#AddrPort.Compare"><code>AddrPort.Compare</code></a>
+      method compares two <code>AddrPort</code>s.
     </p>
   </dd>
 </dl><!-- net/netip -->