Add a TODO about impure functions.

This commit is contained in:
Nigel Tao committed 2017-11-04 16:04:28 +11:00
1 parent 1c7a6792de
commit 36a93fa6b7
2 files changed
+2

No files matched your search

+1
View File
@@ -66,6 +66,7 @@ pri struct adler32?(
state u32 = 1,
)
// TODO: add a ! as this function is impure.
pri func adler32.update(x[] u8)(checksum u32) {
// The Adler-32 checksum's magic 65521 and 5552 numbers are discussed in
// RFC 1950.