]> Cypherpunks repositories - gostls13.git/commit
net/netip: fix method name in {AddrPort,Prefix}.IsValid godoc
authorTobias Klauser <tklauser@distanz.ch>
Mon, 8 Aug 2022 15:14:14 +0000 (17:14 +0200)
committerGopher Robot <gobot@golang.org>
Tue, 9 Aug 2022 05:59:43 +0000 (05:59 +0000)
commit5639fcae7fee2cf04c1b87e9a81155ee3bb6ed71
tree3105ebda8108ef23c673d26e72f5b8837625b7a8
parent228f891c905af8c01743085a74b2189f58eecba1
net/netip: fix method name in {AddrPort,Prefix}.IsValid godoc

In CL 339309 these were probably copied from the respective
godoc comments in package inet.af/netaddr, also see
https://pkg.go.dev/inet.af/netaddr#IPPort.IsValid and
https://pkg.go.dev/inet.af/netaddr#IPPrefix.IsValid

In net/netip the methods are named Addr. Adjust the godoc comments
accordingly.

Change-Id: Icfe1d73b647c2e195d96cd5b1073a734905134af
Reviewed-on: https://go-review.googlesource.com/c/go/+/421995
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/net/netip/netip.go