This commit is contained in:
Aliaksandr Valialkin 2024-06-08 00:36:30 +02:00
parent bcf3ded60a
commit dc99281295
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB

View file

@ -33,7 +33,7 @@ type bloomFilter struct {
func (bf *bloomFilter) reset() {
clear(bf.bits)
bf.bits = bits[:0]
bf.bits = bf.bits[:0]
}
// marshal appends marshaled bf to dst and returns the result.