From 4ca1caf407f6bbadbc9235bbcc08036f1eef907b Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 18 Jan 2024 00:29:48 +0100 Subject: [PATCH] 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 LUCI-TryBot-Result: Go LUCI Reviewed-by: Damien Neil Auto-Submit: Damien Neil Auto-Submit: Tobias Klauser --- doc/go1.22.html | 4 ++-- 1 file 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.
net/netip

- The new AddrPort - function compares two AddrPorts. + The new AddrPort.Compare + method compares two AddrPorts.

-- 2.50.0