summaryrefslogtreecommitdiff
path: root/src/pkg/compress/lzw/reader.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/compress/lzw/reader.go')
-rw-r--r--src/pkg/compress/lzw/reader.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/compress/lzw/reader.go b/src/pkg/compress/lzw/reader.go
index efbc758f9..ef5969910 100644
--- a/src/pkg/compress/lzw/reader.go
+++ b/src/pkg/compress/lzw/reader.go
@@ -216,8 +216,8 @@ func (d *decoder) Close() error {
return nil
}
-// NewReader creates a new io.ReadCloser that satisfies reads by decompressing
-// the data read from r.
+// NewReader creates a new io.ReadCloser.
+// Reads from the returned io.ReadCloser read and decompress data from r.
// It is the caller's responsibility to call Close on the ReadCloser when
// finished reading.
// The number of bits to use for literal codes, litWidth, must be in the