aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-01-25 11:14:57 +0100
committerTobias Klauser <tobias.klauser@gmail.com>2021-01-25 12:30:58 +0000
commit044f937a73dc9a28c36a6c87d55c2211247e7d63 (patch)
treeee63607649c23c16398076f8e3e3a2cdc19069ed
parentb634f5d97a6e65f19057c00ed2095a1a872c7fa8 (diff)
downloadgo-044f937a73dc9a28c36a6c87d55c2211247e7d63.tar.gz
go-044f937a73dc9a28c36a6c87d55c2211247e7d63.zip
doc/go1.16: fix WalkDir and Walk links
Reported by Ben on golang-dev: https://groups.google.com/g/golang-dev/c/gsoj5Vv15j0/m/XR9CYSRkAgAJ For #40700. Change-Id: If4702cf0e9858aaef99c231251dc646a67d1026e Reviewed-on: https://go-review.googlesource.com/c/go/+/285718 Trust: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
-rw-r--r--doc/go1.16.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go1.16.html b/doc/go1.16.html
index 78f69f6c7d..9c4910053c 100644
--- a/doc/go1.16.html
+++ b/doc/go1.16.html
@@ -895,9 +895,9 @@ func TestFoo(t *testing.T) {
<dd>
<p><!-- CL 267887 -->
The new function
- <a href="/pkg/path/filepath/WalkDir"><code>WalkDir</code></a>
+ <a href="/pkg/path/filepath/#WalkDir"><code>WalkDir</code></a>
is similar to
- <a href="/pkg/path/filepath/Walk"><code>Walk</code></a>,
+ <a href="/pkg/path/filepath/#Walk"><code>Walk</code></a>,
but is typically more efficient.
The function passed to <code>WalkDir</code> receives a
<a href="/pkg/io/fs/#DirEntry"><code>fs.DirEntry</code></a>