Skip to content

Commit 753403c

Browse files
authored
digest: remove out of date godoc comment
1 parent 7cc41cb commit 753403c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

digest.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ func Parse(s string) (Digest, error) {
6363
return d, d.Validate()
6464
}
6565

66-
// FromReader returns the most valid digest for the underlying content using
67-
// the canonical digest algorithm.
66+
// FromReader consumes the content of rd until io.EOF, returning canonical digest.
6867
func FromReader(rd io.Reader) (Digest, error) {
6968
return Canonical.FromReader(rd)
7069
}

0 commit comments

Comments
 (0)