mirror of
https://github.com/golang/go.git
synced 2026-06-27 19:30:52 +00:00
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:
parent
168fe84e6c
commit
81f747893d
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue