diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2021-02-16 10:36:10 +0100 |
---|---|---|
committer | Tobias Klauser <tobias.klauser@gmail.com> | 2021-02-23 09:16:54 +0000 |
commit | 08543f071520074854f280ad789cf79c5a00af7d (patch) | |
tree | 4aad4ab56769bdcd744d2d336029be539ee193d0 /src/io | |
parent | 0398a771d2fb4c4702e31bbb485924198b1b2603 (diff) | |
download | go-08543f071520074854f280ad789cf79c5a00af7d.tar.gz go-08543f071520074854f280ad789cf79c5a00af7d.zip |
ios/fs: mention f.dir in (*subFS).fixErr godoc
There is no dir parameter to (f *subFS).fixErr.
Change-Id: I49e42bac5e102cfab0d289658d9871429cfec515
Reviewed-on: https://go-review.googlesource.com/c/go/+/292389
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/io')
-rw-r--r-- | src/io/fs/sub.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/fs/sub.go b/src/io/fs/sub.go index 64cdffe6de..d689b9e2bc 100644 --- a/src/io/fs/sub.go +++ b/src/io/fs/sub.go @@ -68,7 +68,7 @@ func (f *subFS) shorten(name string) (rel string, ok bool) { return "", false } -// fixErr shortens any reported names in PathErrors by stripping dir. +// fixErr shortens any reported names in PathErrors by stripping f.dir. func (f *subFS) fixErr(err error) error { if e, ok := err.(*PathError); ok { if short, ok := f.shorten(e.Path); ok { |