diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2020-12-15 10:41:54 +0100 |
---|---|---|
committer | Tobias Klauser <tobias.klauser@gmail.com> | 2020-12-15 16:31:07 +0000 |
commit | a508840c671f4ec4b923daa04c0ac17378ab52b4 (patch) | |
tree | 1ff81a22be11a002dc39359798060ce7b2357cc5 /doc | |
parent | 5046cb8a6e8496f70e47f648ed368ffe87bc5e4e (diff) | |
download | go-git-a508840c671f4ec4b923daa04c0ac17378ab52b4.tar.gz |
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 <tobias.klauser@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.16.html | 9 |
1 files changed, 5 insertions, 4 deletions
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) { <dl id="path"><dt><a href="/pkg/path/">path</a></dt> <dd> <p><!-- CL 264397, golang.org/issues/28614 --> - The <code>Match</code> and <code>Glob</code> 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 <a href="/pkg/path/#Match"><code>Match</code></a> 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. </p> @@ -852,7 +852,8 @@ func TestFoo(t *testing.T) { <dl id="path/filepath"><dt><a href="/pkg/path/filepath/">path/filepath</a></dt> <dd> <p><!-- CL 264397, golang.org/issues/28614 --> - The <code>Match</code> and <code>Glob</code> functions now + The <a href="/pkg/path/filepath#Match"><code>Match</code></a> and + <a href="/pkg/path/filepath#Glob"><code>Glob</code></a> 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 |