mirror of https://github.com/golang/go.git
doc/go1.15: fix typos and wording in a few places
Change-Id: Ib1fc7a8305f3bc698b9022e0a565ccbcf687e0d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/240158 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
186e61f319
commit
3c474d4164
|
|
@ -447,7 +447,7 @@ Do not send CLs removing the interior tags from such phrases.
|
||||||
<a href="/pkg/crypto/tls/#Dialer"><code>Dialer</code></a>
|
<a href="/pkg/crypto/tls/#Dialer"><code>Dialer</code></a>
|
||||||
type and its
|
type and its
|
||||||
<a href="/pkg/crypto/tls/#Dialer.DialContext"><code>DialContext</code></a>
|
<a href="/pkg/crypto/tls/#Dialer.DialContext"><code>DialContext</code></a>
|
||||||
method permits using a context to both connect and handshake with a TLS server.
|
method permit using a context to both connect and handshake with a TLS server.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p><!-- CL 229122 -->
|
<p><!-- CL 229122 -->
|
||||||
|
|
@ -603,9 +603,10 @@ Do not send CLs removing the interior tags from such phrases.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p><!-- CL 199837 -->
|
<p><!-- CL 199837 -->
|
||||||
Introduce an internal limit to the maximum depth of nesting when decoding.
|
The package now has an internal limit to the maximum depth of
|
||||||
This reduces the possibility that a deeply nested input could use large quantities
|
nesting when decoding. This reduces the possibility that a
|
||||||
of stack memory, or even cause a "goroutine stack exceeds limit" panic.
|
deeply nested input could use large quantities of stack memory,
|
||||||
|
or even cause a "goroutine stack exceeds limit" panic.
|
||||||
</p>
|
</p>
|
||||||
</dd>
|
</dd>
|
||||||
</dl><!-- encoding/json -->
|
</dl><!-- encoding/json -->
|
||||||
|
|
@ -628,7 +629,7 @@ Do not send CLs removing the interior tags from such phrases.
|
||||||
<dd>
|
<dd>
|
||||||
<p><!-- CL 221427 -->
|
<p><!-- CL 221427 -->
|
||||||
When the flag package sees <code>-h</code> or <code>-help</code>, and
|
When the flag package sees <code>-h</code> or <code>-help</code>, and
|
||||||
those flags are not defined, the flag package prints a usage message.
|
those flags are not defined, it now prints a usage message.
|
||||||
If the <a href="/pkg/flag/#FlagSet"><code>FlagSet</code></a> was created with
|
If the <a href="/pkg/flag/#FlagSet"><code>FlagSet</code></a> was created with
|
||||||
<a href="/pkg/flag/#ExitOnError"><code>ExitOnError</code></a>,
|
<a href="/pkg/flag/#ExitOnError"><code>ExitOnError</code></a>,
|
||||||
<a href="/pkg/flag/#FlagSet.Parse"><code>FlagSet.Parse</code></a> would then
|
<a href="/pkg/flag/#FlagSet.Parse"><code>FlagSet.Parse</code></a> would then
|
||||||
|
|
@ -931,7 +932,7 @@ Do not send CLs removing the interior tags from such phrases.
|
||||||
<p><!-- CL 226877, golang.org/issue/35998 -->
|
<p><!-- CL 226877, golang.org/issue/35998 -->
|
||||||
The new methods
|
The new methods
|
||||||
<a href="/pkg/testing/#T.TempDir"><code>T.TempDir</code></a> and
|
<a href="/pkg/testing/#T.TempDir"><code>T.TempDir</code></a> and
|
||||||
<a href="/pkg/testing/#B.TempDir"><code>B.TempDir</code></a> and
|
<a href="/pkg/testing/#B.TempDir"><code>B.TempDir</code></a>
|
||||||
return temporary directories that are automatically cleaned up
|
return temporary directories that are automatically cleaned up
|
||||||
at the end of the test.
|
at the end of the test.
|
||||||
</p>
|
</p>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue