From: Artyom Pervukhin Date: Wed, 4 Nov 2020 12:28:25 +0000 (+0300) Subject: archive/zip: fix documentation to mention fs.FS interface X-Git-Tag: go1.16beta1~299 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d51ae669363fdd4a741db7f0193e7e6ebc639ff3;p=gostls13.git 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 Reviewed-by: Dmitri Shuralyov --- 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) {