diff options
author | Artyom Pervukhin <artyom.pervukhin@gmail.com> | 2020-11-04 15:28:25 +0300 |
---|---|---|
committer | Dmitri Shuralyov <dmitshur@golang.org> | 2020-11-07 03:52:47 +0000 |
commit | d51ae669363fdd4a741db7f0193e7e6ebc639ff3 (patch) | |
tree | a4db68c2096988989a177a4f83d7e0677c263ffc /src/archive | |
parent | 33bc8ce8de855c78ec537e53e7814fa85bd90944 (diff) | |
download | go-d51ae669363fdd4a741db7f0193e7e6ebc639ff3.tar.gz go-d51ae669363fdd4a741db7f0193e7e6ebc639ff3.zip |
archive/zip: fix documentation to mention fs.FS interface
Fixes #42374
Change-Id: I0ed1eb052d79bcc65810b74bff48f1e615e1dc1e
Reviewed-on: https://go-review.googlesource.com/c/go/+/267657
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'src/archive')
-rw-r--r-- | src/archive/zip/reader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive/zip/reader.go b/src/archive/zip/reader.go index 5c9f3dea28..8b4e77875f 100644 --- a/src/archive/zip/reader.go +++ b/src/archive/zip/reader.go @@ -695,7 +695,7 @@ func fileEntryLess(x, y string) bool { } // Open opens the named file in the ZIP archive, -// using the semantics of io.FS.Open: +// using the semantics of fs.FS.Open: // paths are always slash separated, with no // leading / or ../ elements. func (r *Reader) Open(name string) (fs.File, error) { |