]> Cypherpunks repositories - gostls13.git/commitdiff
archive/zip: remove unnecessary words in (*Writer).Close docs
authorIan Lance Taylor <iant@golang.org>
Thu, 31 May 2018 22:07:02 +0000 (15:07 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 31 May 2018 22:48:13 +0000 (22:48 +0000)
Fixes #25599

Change-Id: I19ac3463682f662515feaf4c6132f55c12ba5386
Reviewed-on: https://go-review.googlesource.com/115618
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/archive/zip/writer.go

index 0f1a193345b463a9b36d55f9ede80e8ad43b2b49..506148ee300896e7afdec3234dd3e01da68611af 100644 (file)
@@ -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 {