From 753403c1706285b55bf27b7b20787d7841ddebf7 Mon Sep 17 00:00:00 2001 From: Stephen Day Date: Tue, 20 Dec 2016 12:07:38 -0800 Subject: [PATCH] digest: remove out of date godoc comment --- digest.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/digest.go b/digest.go index b16b397..7c66c30 100644 --- a/digest.go +++ b/digest.go @@ -63,8 +63,7 @@ func Parse(s string) (Digest, error) { return d, d.Validate() } -// FromReader returns the most valid digest for the underlying content using -// the canonical digest algorithm. +// FromReader consumes the content of rd until io.EOF, returning canonical digest. func FromReader(rd io.Reader) (Digest, error) { return Canonical.FromReader(rd) }