diff options
author | Alberto Donizetti <alb.donizetti@gmail.com> | 2020-06-26 19:05:13 +0200 |
---|---|---|
committer | Alberto Donizetti <alb.donizetti@gmail.com> | 2020-06-26 18:47:38 +0000 |
commit | 3c474d4164990c10c48c2b881211b6af95058be9 (patch) | |
tree | c476423dd6534b3ff8b2241ff6a1730011ff80cf /doc | |
parent | 186e61f319c2fb0d0abc72c85d8818eba06e26e3 (diff) | |
download | go-3c474d4164990c10c48c2b881211b6af95058be9.tar.gz go-3c474d4164990c10c48c2b881211b6af95058be9.zip |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.15.html | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/go1.15.html b/doc/go1.15.html index 7a78ab8069..ea0c54ba81 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -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> type and its <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><!-- CL 229122 --> @@ -603,9 +603,10 @@ Do not send CLs removing the interior tags from such phrases. </p> <p><!-- CL 199837 --> - Introduce an internal limit to the maximum depth of nesting when decoding. - This reduces the possibility that a deeply nested input could use large quantities - of stack memory, or even cause a "goroutine stack exceeds limit" panic. + The package now has an internal limit to the maximum depth of + nesting when decoding. This reduces the possibility that a + deeply nested input could use large quantities of stack memory, + or even cause a "goroutine stack exceeds limit" panic. </p> </dd> </dl><!-- encoding/json --> @@ -628,7 +629,7 @@ Do not send CLs removing the interior tags from such phrases. <dd> <p><!-- CL 221427 --> 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 <a href="/pkg/flag/#ExitOnError"><code>ExitOnError</code></a>, <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 --> The new methods <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 at the end of the test. </p> |