aboutsummaryrefslogtreecommitdiff
path: root/hash.go
diff options
context:
space:
mode:
Diffstat (limited to 'hash.go')
-rw-r--r--hash.go2
1 files changed, 1 insertions, 1 deletions
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]...)
}