net/netip: fix typo in AddrPort.AppendBinary godoc

Change-Id: I823f59627b196145abc2520ddacb084d56f466f2
Reviewed-on: https://go-review.googlesource.com/c/go/+/777600
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Nicholas Husin <husin@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Tobias Klauser 2026-05-13 15:23:07 +02:00 committed by Gopher Robot
parent 168fe84e6c
commit 81f747893d

View file

@ -1250,7 +1250,7 @@ func (p *AddrPort) UnmarshalText(text []byte) error {
return err
}
// AppendBinary implements the [encoding.BinaryAppendler] interface.
// AppendBinary implements the [encoding.BinaryAppender] interface.
// It returns [Addr.AppendBinary] with an additional two bytes appended
// containing the port in little-endian.
func (p AddrPort) AppendBinary(b []byte) ([]byte, error) {