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:
parent
64018e6f14
commit
49505d4090
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user