1
0
mirror of https://github.com/golang/go synced 2024-11-23 12:10:11 -07:00

compress/lzw: be consistent with error message prefixes.

All the other error messages in this package are "lzw: etc".

Change-Id: Ie359a8912d213f92b15f02abc953127380503048
Reviewed-on: https://go-review.googlesource.com/11228
Reviewed-by: David Symonds <dsymonds@golang.org>
This commit is contained in:
Nigel Tao 2015-06-18 14:47:44 +10:00
parent 2858b73843
commit 62f169cb38

View File

@ -213,7 +213,7 @@ func (d *decoder) flush() {
d.o = 0
}
var errClosed = errors.New("compress/lzw: reader/writer is closed")
var errClosed = errors.New("lzw: reader/writer is closed")
func (d *decoder) Close() error {
d.err = errClosed // in case any Reads come along