Skip to content

Commit

Permalink
doc/go1.16: fix WalkDir and Walk links
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Alberto Donizetti <[email protected]>
  • Loading branch information
tklauser committed Jan 25, 2021
1 parent b634f5d commit 044f937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/go1.16.html
Original file line number Diff line number Diff line change
Expand Up @@ -895,9 +895,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
<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>
Expand Down

0 comments on commit 044f937

Please sign in to comment.