From: Andrew Gerrand Date: Fri, 2 Dec 2011 02:36:21 +0000 (+1100) Subject: doc: correct weekly snapshot notes on hash.Hash change X-Git-Tag: weekly.2011-12-06~52 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=517503dab8cab086b431c9cb1a9292ce9831a629;p=gostls13.git 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 --- diff --git a/doc/devel/weekly.html b/doc/devel/weekly.html index 4feac2a9c1..90e773c4a5 100644 --- a/doc/devel/weekly.html +++ b/doc/devel/weekly.html @@ -20,8 +20,8 @@ hg update weekly.YYYY-MM-DD 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.