aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2024-01-18 00:29:48 +0100
committerGopher Robot <gobot@golang.org>2024-01-22 16:54:48 +0000
commit4ca1caf407f6bbadbc9235bbcc08036f1eef907b (patch)
tree62db9e3abaa478a0dc613effd5a03230222e1bcd /doc
parent846bb475203ac3fcef61569b2d1360947254dd38 (diff)
downloadgo-4ca1caf407f6bbadbc9235bbcc08036f1eef907b.tar.gz
go-4ca1caf407f6bbadbc9235bbcc08036f1eef907b.zip
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.22.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go1.22.html b/doc/go1.22.html
index ae3ac728e3..b62412a331 100644
--- a/doc/go1.22.html
+++ b/doc/go1.22.html
@@ -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 -->