diff options
author | Ian Lance Taylor <iant@golang.org> | 2018-05-31 15:07:02 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2018-05-31 22:48:13 +0000 |
commit | a7e0a920ad45482183783c56e4dd39c9457ff4cc (patch) | |
tree | 00b81fa4ac6b77174a51afd2e31ab3870441eece /src/archive | |
parent | a34e6650c0847ba54445b036dfd33e7d98fe8a2c (diff) | |
download | go-a7e0a920ad45482183783c56e4dd39c9457ff4cc.tar.gz go-a7e0a920ad45482183783c56e4dd39c9457ff4cc.zip |
archive/zip: remove unnecessary words in (*Writer).Close docs
Fixes #25599
Change-Id: I19ac3463682f662515feaf4c6132f55c12ba5386
Reviewed-on: https://go-review.googlesource.com/115618
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/archive')
-rw-r--r-- | src/archive/zip/writer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive/zip/writer.go b/src/archive/zip/writer.go index 0f1a193345..506148ee30 100644 --- a/src/archive/zip/writer.go +++ b/src/archive/zip/writer.go @@ -72,7 +72,7 @@ func (w *Writer) SetComment(comment string) error { } // Close finishes writing the zip file by writing the central directory. -// It does not (and cannot) close the underlying writer. +// It does not close the underlying writer. func (w *Writer) Close() error { if w.last != nil && !w.last.closed { if err := w.last.close(); err != nil { |