From 517503dab8cab086b431c9cb1a9292ce9831a629 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Fri, 2 Dec 2011 13:36:21 +1100 Subject: [PATCH] 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 --- doc/devel/weekly.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.51.0