]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.18: remove some redundancy from netip docs
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 2 Nov 2021 14:59:16 +0000 (07:59 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 2 Nov 2021 22:20:40 +0000 (22:20 +0000)
Change-Id: I593862331add3366f6b337844588568301746b80
Reviewed-on: https://go-review.googlesource.com/c/go/+/360608
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Trust: Brad Fitzpatrick <bradfitz@golang.org>

doc/go1.18.html

index 82fe6f452019f5d4a06c403b0f7cf03f530b3940..171cc3cb227fb7e279d3d973358cc9de71a8ecee 100644 (file)
@@ -131,8 +131,8 @@ Do not send CLs removing the interior tags from such phrases.
 <h3 id="netip">New <code>net/netip</code> package</h3>
 <p>
   The new <a href="/pkg/net/netip/"><code>net/netip</code></a>
-  package defines a new IP address type, <a href="/pkg/net/netip/#Addr"><code>Addr</code></a>
-  that's a small, comparable, value type. Compared to the existing
+  package defines a new IP address type, <a href="/pkg/net/netip/#Addr"><code>Addr</code></a>.
+  Compared to the existing
   <a href="/pkg/net/#IP"><code>net.IP</code></a> type, the <code>netip.Addr</code> type takes less
   memory, is immutable, and is comparable so it supports <code>==</code>
   and can be used as a map key.