From: Tobias Klauser Date: Tue, 15 Dec 2020 09:41:54 +0000 (+0100) Subject: doc/go1.16: fix path, path/filepath release notes X-Git-Tag: go1.16beta1~17 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a508840c671f4ec4b923daa04c0ac17378ab52b4;p=gostls13.git doc/go1.16: fix path, path/filepath release notes The path package doesn't have a Glob function. Adjust the release notes re. CL 264397 accordingly. Also add links to the documentation of all mentioned functions. For #40700. Change-Id: Ibf3e0530fa6fab36a3f6fbc664f0800869ce9ec7 Reviewed-on: https://go-review.googlesource.com/c/go/+/278213 Trust: Tobias Klauser Reviewed-by: Dmitri Shuralyov --- diff --git a/doc/go1.16.html b/doc/go1.16.html index 2190ed6cd3..ffe274f3bd 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -840,9 +840,9 @@ func TestFoo(t *testing.T) {
path

- The Match and Glob functions now - return an error if the unmatched part of the pattern has a - syntax error. Previously, the functions returned early on a failed + The Match function now + returns an error if the unmatched part of the pattern has a + syntax error. Previously, the function returned early on a failed match, and thus did not report any later syntax error in the pattern.

@@ -852,7 +852,8 @@ func TestFoo(t *testing.T) {
path/filepath

- The Match and Glob functions now + The Match and + Glob functions now return an error if the unmatched part of the pattern has a syntax error. Previously, the functions returned early on a failed match, and thus did not report any later syntax error in the