]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.15: fix typos and wording in a few places
authorAlberto Donizetti <alb.donizetti@gmail.com>
Fri, 26 Jun 2020 17:05:13 +0000 (19:05 +0200)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Fri, 26 Jun 2020 18:47:38 +0000 (18:47 +0000)
Change-Id: Ib1fc7a8305f3bc698b9022e0a565ccbcf687e0d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/240158
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.15.html

index 7a78ab8069a2407950ccdb8b77f393700f48492e..ea0c54ba81973055f656b29da763ac5d2e63443f 100644 (file)
@@ -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>