commit 85ed6c0e5a5d873b803288a461c09f82803ff486
parent 7cbaf1dc52bd9f3fdf230bf317097e2ebb4ed544
Author: Kiëd Llaentenn <kiedtl@tilde.team>
Date: Thu, 29 Apr 2021 11:30:46 +0000
hash::crc16: Fix reference to CRC32 tables in docs
Signed-off-by: Kiëd Llaentenn <kiedtl@tilde.team>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hash/crc16/crc16.ha b/hash/crc16/crc16.ha
@@ -180,7 +180,7 @@ type state = struct {
// Creates a [[hash::hash]] which computes the CRC-16 algorithm.
//
// It takes a table of memoized values for a given polynomail (for example,
-// [[IEEE_TABLE]], [[CASTAGNOLI_TABLE]], or [[KOOPMAN_TABLE]]); a table for a
+// [[CCITT_TABLE]], [[DECT_TABLE]], or [[ANSI_TABLE]]); a table for a
// custom polynomial, populated by [[memoize]] function, may also be used.
export fn crc16(table: *[256]u16) *hash::hash = alloc(state {
hash = hash::hash {