diff options
author | Nigel Tao <nigeltao@golang.org> | 2012-02-11 12:09:11 +1100 |
---|---|---|
committer | Nigel Tao <nigeltao@golang.org> | 2012-02-11 12:09:11 +1100 |
commit | 22636be8b03c2581ed0f6c93d90689b0202b87b0 (patch) | |
tree | 64ad3f0be3c97882d36842066ad724a91e18a72f /doc/go1.html | |
parent | 0846e275a88b1b0b92a8cacab5b7e4cfc747e072 (diff) | |
download | go-git-22636be8b03c2581ed0f6c93d90689b0202b87b0.tar.gz |
flate: delete WrongValueError type.
Fixes #2838.
R=rsc, r
CC=golang-dev
https://golang.org/cl/5651060
Diffstat (limited to 'doc/go1.html')
-rw-r--r-- | doc/go1.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/go1.html b/doc/go1.html index fce1c079e7..0dc73234f6 100644 --- a/doc/go1.html +++ b/doc/go1.html @@ -881,10 +881,15 @@ What little code is affected will be caught by the compiler and must be updated <h3 id="bufio">The compress/flate, compress/gzip and compress/zlib packages</h3> <p> -In Go 1, the NewWriterXxx functions in compress/flate, compress/gzip and -compress/zlib all return (*Writer, error) if they take a compression level, -and *Writer otherwise. Package gzip's Compressor and Decompressor types have -been renamed to Writer and Reader. +In Go 1, the <code>NewWriterXxx</code> functions in +<a href="/pkg/compress/flate"><code>compress/flate</code></a>, +<a href="/pkg/compress/gzip"><code>compress/gzip</code></a> and +<a href="/pkg/compress/zlib"><code>compress/zlib</code></a> +all return <code>(*Writer, error)</code> if they take a compression level, +and <code>*Writer</code> otherwise. Package <code>gzip</code>'s +<code>Compressor</code> and <code>Decompressor</code> types have been renamed +to <code>Writer</code> and <code>Reader</code>. Package <code>flate</code>'s +<code>WrongValueError</code> type has been removed. </p> <p> |