1
0
mirror of https://github.com/golang/go synced 2024-11-23 06:10:05 -07:00

doc: correct weekly snapshot notes on hash.Hash change

I had the wrong idea when I wrote this.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5437111
This commit is contained in:
Andrew Gerrand 2011-12-02 13:36:21 +11:00
parent e6b3371781
commit 517503dab8

View 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.