Commit a789ae9e authored by Dominik Honnef's avatar Dominik Honnef Committed by Andrew Gerrand

compress/flate: small documentation fix

R=golang-dev, adg
CC=bradfitz, golang-dev, remyoudompheng
https://golang.org/cl/13568045
parent b6866f19
...@@ -553,7 +553,7 @@ func (w *Writer) Close() error { ...@@ -553,7 +553,7 @@ func (w *Writer) Close() error {
} }
// Reset discards the writer's state and makes it equivalent to // 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. // and w's level and dictionary.
func (w *Writer) Reset(dst io.Writer) { func (w *Writer) Reset(dst io.Writer) {
if dw, ok := w.d.w.w.(*dictWriter); ok { if dw, ok := w.d.w.w.(*dictWriter); ok {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment