bits-and-blooms/bitset

docstring copy/paste error for IntersectionCardinality ?

gaissmai opened this issue · 1 comments

Hi,

maybe the docstring is here wrong, at least in my opinion, but I'm not a native speaker:

func (b *BitSet) IntersectionCardinality(compare *BitSet) uint
    IntersectionCardinality computes the cardinality of the union

should be:

func (b *BitSet) IntersectionCardinality(compare *BitSet) uint
    IntersectionCardinality computes the cardinality of the intersection

thanks for the wonderful library!

Thanks. Fixed.