From 3c474d4164990c10c48c2b881211b6af95058be9 Mon Sep 17 00:00:00 2001 From: Alberto Donizetti Date: Fri, 26 Jun 2020 19:05:13 +0200 Subject: [PATCH] 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 --- doc/go1.15.html | 13 +++++++------ 1 file 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. Dialer type and its DialContext - 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.

@@ -603,9 +603,10 @@ Do not send CLs removing the interior tags from such phrases.

- 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.

@@ -628,7 +629,7 @@ Do not send CLs removing the interior tags from such phrases.

When the flag package sees -h or -help, 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 FlagSet was created with ExitOnError, FlagSet.Parse would then @@ -931,7 +932,7 @@ Do not send CLs removing the interior tags from such phrases.

The new methods T.TempDir and - B.TempDir and + B.TempDir return temporary directories that are automatically cleaned up at the end of the test.

-- 2.50.0