From: Tobias Klauser Date: Tue, 17 May 2022 22:08:49 +0000 (+0200) Subject: net/netip: fix type name in z0, z4, z6noz comment X-Git-Tag: go1.19beta1~196 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3483ce0a28ebfe287416889e87a51dd3636223aa;p=gostls13.git 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 --- diff --git a/src/net/netip/netip.go b/src/net/netip/netip.go index a88a994068..dedebbe818 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)