aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2021-12-14 15:39:14 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2021-12-14 23:57:51 +0000
commitdc5a8f9647257584a17efef219edc7d494b9a5bc (patch)
tree63e13c2d4e82e40a737f60fcbe1d5e7e0021cea8 /doc
parent38c067d178111d48a5ce96feccae1a7abe28ff59 (diff)
downloadgo-dc5a8f9647257584a17efef219edc7d494b9a5bc.tar.gz
go-dc5a8f9647257584a17efef219edc7d494b9a5bc.zip
doc/go1.18: fix an unclosed anchor
Change-Id: I432bcc6ff917d008598b2f37c6e826f588a3d6d6 Reviewed-on: https://go-review.googlesource.com/c/go/+/372074 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Trust: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.18.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/go1.18.html b/doc/go1.18.html
index c2568468ac..59a307a438 100644
--- a/doc/go1.18.html
+++ b/doc/go1.18.html
@@ -116,7 +116,7 @@ Do not send CLs removing the interior tags from such phrases.
<p>
The Go 1.18 compiler now reports an overflow when passing a rune constant expression
- such as <code>'1' << 32</code> as an argument to the predeclared functions
+ such as <code>'1' &lt;&lt; 32</code> as an argument to the predeclared functions
<code>print</code> and <code>println</code>, consistent with the behavior of
user-defined functions. Before Go 1.18, the compiler did not report an error
in such cases but silently accepted such constant arguments if they fit into an
@@ -442,10 +442,10 @@ Do not send CLs removing the interior tags from such phrases.
methods that parallel existing methods, but
return <code>netip.AddrPort</code> instead of the
heavier-weight <a href="/pkg/net/#IP"><code>net.IP</code></a> or
- <a href="/pkg/net/#UDPAddr"<code>*net.UDPAddr</code></a> types.
+ <a href="/pkg/net/#UDPAddr"><code>*net.UDPAddr</code></a> types.
The <code>net</code> package also now includes functions and methods
to convert between the existing
- <a href="/pkg/net/#TCPAddr"><code>TCPAddr</code>/<a href="/pkg/net/#UDPAddr"><code>UDPAddr</code>
+ <a href="/pkg/net/#TCPAddr"><code>TCPAddr</code></a>/<a href="/pkg/net/#UDPAddr"><code>UDPAddr</code></a>
types and <code>netip.AddrPort</code>.
</p>