From 5c15542025c98f89d65331ff01b28daa389cf2a6 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 16 Nov 2025 00:00:00 +0000 Subject: Fix some docs and API types --- hash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hash.go') diff --git a/hash.go b/hash.go index 2278f7cc..068eb840 100644 --- a/hash.go +++ b/hash.go @@ -40,7 +40,7 @@ func (hash Hash) String() string { return hex.EncodeToString(hash.data[:hash.size]) } -// Bytes returns a mutable copy of the hash bytes. +// Bytes returns a copy of the hash's bytes. func (hash Hash) Bytes() []byte { return append([]byte(nil), hash.data[:hash.size]...) } -- cgit v1.3.1-10-gc9f91