From: Brad Fitzpatrick Date: Tue, 2 Nov 2021 14:59:16 +0000 (-0700) Subject: doc/go1.18: remove some redundancy from netip docs X-Git-Tag: go1.18beta1~590 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2157498dfee125e43cc37cad622fb7d2115dd3a8;p=gostls13.git doc/go1.18: remove some redundancy from netip docs Change-Id: I593862331add3366f6b337844588568301746b80 Reviewed-on: https://go-review.googlesource.com/c/go/+/360608 Reviewed-by: Josh Bleecher Snyder Trust: Josh Bleecher Snyder Trust: Brad Fitzpatrick --- diff --git a/doc/go1.18.html b/doc/go1.18.html index 82fe6f4520..171cc3cb22 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -131,8 +131,8 @@ Do not send CLs removing the interior tags from such phrases.

New net/netip package

The new net/netip - package defines a new IP address type, Addr - that's a small, comparable, value type. Compared to the existing + package defines a new IP address type, Addr. + Compared to the existing net.IP type, the netip.Addr type takes less memory, is immutable, and is comparable so it supports == and can be used as a map key.