mirror of https://github.com/golang/go.git
compress/flate: small documentation fix
R=golang-dev, adg CC=bradfitz, golang-dev, remyoudompheng https://golang.org/cl/13568045
This commit is contained in:
parent
b6866f1945
commit
a789ae9e8e
|
|
@ -553,7 +553,7 @@ func (w *Writer) Close() error {
|
|||
}
|
||||
|
||||
// Reset discards the writer's state and makes it equivalent to
|
||||
// the result of NewWriter or NewWriterDict called with w
|
||||
// the result of NewWriter or NewWriterDict called with dst
|
||||
// and w's level and dictionary.
|
||||
func (w *Writer) Reset(dst io.Writer) {
|
||||
if dw, ok := w.d.w.w.(*dictWriter); ok {
|
||||
|
|
|
|||
Loading…
Reference in New Issue