]> Cypherpunks repositories - gostls13.git/commitdiff
compress/flate: small documentation fix
authorDominik Honnef <dominik.honnef@gmail.com>
Sun, 8 Sep 2013 23:37:05 +0000 (09:37 +1000)
committerAndrew Gerrand <adg@golang.org>
Sun, 8 Sep 2013 23:37:05 +0000 (09:37 +1000)
R=golang-dev, adg
CC=bradfitz, golang-dev, remyoudompheng
https://golang.org/cl/13568045

src/pkg/compress/flate/deflate.go

index b3e079150a1521c3893ebcb161d1d07a346f061b..8c79df0c607d8e3415757dde544b9cacc68b8e11 100644 (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 {