From 3483ce0a28ebfe287416889e87a51dd3636223aa Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 18 May 2022 00:08:49 +0200 Subject: [PATCH] net/netip: fix type name in z0, z4, z6noz comment This was copied from the respective comment in package inet.af/netaddr where the type is named IP. In net/netip the type is named Addr. Adjust the comment accordingly. Change-Id: Ib2d1667e6b8f474b3589dea0b37d5e05e58f2e05 Reviewed-on: https://go-review.googlesource.com/c/go/+/406755 Reviewed-by: Dmitri Shuralyov Run-TryBot: Tobias Klauser TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor Auto-Submit: Tobias Klauser Reviewed-by: Dmitri Shuralyov --- src/net/netip/netip.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/netip/netip.go b/src/net/netip/netip.go index a88a9940688..dedebbe818d 100644 --- a/src/net/netip/netip.go +++ b/src/net/netip/netip.go @@ -63,8 +63,8 @@ type Addr struct { z *intern.Value } -// z0, z4, and z6noz are sentinel IP.z values. -// See the IP type's field docs. +// z0, z4, and z6noz are sentinel Addr.z values. +// See the Addr type's field docs. var ( z0 = (*intern.Value)(nil) z4 = new(intern.Value)