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>
This commit is contained in:
Artyom Pervukhin 2020-11-04 15:28:25 +03:00 committed by Dmitri Shuralyov
parent 33bc8ce8de
commit d51ae66936
1 changed files with 1 additions and 1 deletions

View File

@ -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) {