]> Cypherpunks repositories - gostls13.git/commitdiff
doc: correct weekly snapshot notes on hash.Hash change
authorAndrew Gerrand <adg@golang.org>
Fri, 2 Dec 2011 02:36:21 +0000 (13:36 +1100)
committerAndrew Gerrand <adg@golang.org>
Fri, 2 Dec 2011 02:36:21 +0000 (13:36 +1100)
I had the wrong idea when I wrote this.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5437111

doc/devel/weekly.html

index 4feac2a9c1c3f64f7cbee7d5215ef33747bf728b..90e773c4a5073d1003c7e130808ff3b6523b9128 100644 (file)
@@ -20,8 +20,8 @@ hg update weekly.<i>YYYY-MM-DD</i>
 This weekly snapshot includes changes to the hash package and a gofix for the
 time and os.FileInfo changes in the last snapshot.
 
-The hash.Hasher's Sum method has been given a []byte argument, permitting
-the user to hash an arbitrary byte slice without Writing to the Hasher.
+The hash.Hash's Sum method has been given a []byte argument,
+permitting the user to append the hash to an existing byte slice.
 Existing code that uses Sum can pass nil as the argument.
 Gofix will make this change automatically.