1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

hash.crc32: fix typo (#8749)

This commit is contained in:
Quix
2021-02-15 10:52:45 -05:00
committed by GitHub
parent 64018e6f14
commit 49505d4090

View File

@@ -49,7 +49,7 @@ pub fn(c &Crc32) checksum(b []byte) u32 {
return c.sum32(b)
}
// pass the polinomial to use
// pass the polynomial to use
pub fn new(poly int) &Crc32 {
mut c := &Crc32{}
c.generate_table(poly)