summaryrefslogtreecommitdiff
path: root/src/pkg/compress/zlib/writer.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/compress/zlib/writer.go')
-rw-r--r--src/pkg/compress/zlib/writer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/compress/zlib/writer.go b/src/pkg/compress/zlib/writer.go
index 99ff6549a..fac7e15a7 100644
--- a/src/pkg/compress/zlib/writer.go
+++ b/src/pkg/compress/zlib/writer.go
@@ -34,8 +34,8 @@ type Writer struct {
wroteHeader bool
}
-// NewWriter creates a new Writer that satisfies writes by compressing data
-// written to w.
+// NewWriter creates a new Writer.
+// Writes to the returned Writer are compressed and written to w.
//
// It is the caller's responsibility to call Close on the WriteCloser when done.
// Writes may be buffered and not flushed until Close.