aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hash/hash.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/hash.go b/src/hash/hash.go
index 6483bc1086..af84e7796b 100644
--- a/src/hash/hash.go
+++ b/src/hash/hash.go
@@ -10,8 +10,8 @@ import "io"
// Hash is the common interface implemented by all hash functions.
//
// Hash implementations in the standard library (e.g. [hash/crc32] and
-// [crypto/sha256]) implement the [encoding.BinaryMarshaler], [encoding.BinaryAppender]
-// and [encoding.BinaryUnmarshaler] interfaces. Marshaling a hash implementation
+// [crypto/sha256]) implement the [encoding.BinaryMarshaler], [encoding.BinaryAppender],
+// [encoding.BinaryUnmarshaler] and [Cloner] interfaces. Marshaling a hash implementation
// allows its internal state to be saved and used for additional processing
// later, without having to re-write the data previously written to the hash.
// The hash state may contain portions of the input in its original form,