compress/flate: small documentation fix

R=golang-dev, adg
CC=bradfitz, golang-dev, remyoudompheng
https://golang.org/cl/13568045
This commit is contained in:
Dominik Honnef 2013-09-09 09:37:05 +10:00 committed by Andrew Gerrand
parent b6866f1945
commit a789ae9e8e
1 changed files with 1 additions and 1 deletions

View File

@ -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 {