doc/go1.22: fix method name in net/netip changes

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>
This commit is contained in:
Tobias Klauser 2024-01-18 00:29:48 +01:00 committed by Gopher Robot
parent 846bb47520
commit 4ca1caf407
1 changed files with 2 additions and 2 deletions

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