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.
The Go 1.18 compiler now reports an overflow when passing a rune constant expression
- such as '1' << 32 as an argument to the predeclared functions
+ such as '1' << 32 as an argument to the predeclared functions
print and println, 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 netip.AddrPort instead of the
heavier-weight net.IP or
- *net.UDPAddr types.
+ *net.UDPAddr types.
The net package also now includes functions and methods
to convert between the existing
- TCPAddr/UDPAddr
+ TCPAddr/UDPAddr
types and netip.AddrPort.