From 56b3d7d5db91d8a233823776ce503cd8db9a027a Mon Sep 17 00:00:00 2001 From: Richard Artoul Date: Thu, 29 Nov 2018 16:31:23 -0500 Subject: [PATCH] fix comment --- roaring/roaring.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roaring/roaring.go b/roaring/roaring.go index c242bf94f..abd81c59f 100644 --- a/roaring/roaring.go +++ b/roaring/roaring.go @@ -413,9 +413,9 @@ func (b *Bitmap) UnionInPlace(others ...*Bitmap) { b.unionIntoTarget(b, others...) } -// unionIntoTarget stores the union of b and other into target. b and other will -// be left unchanged, but target will be modified in place. Used to share -// the union logic between the copy-on-write and in-place functions. +// unionIntoTarget stores the union of b and others into target. b and others will +// be left unchanged (unless one of them is also target), but target will be modified +// in place. // // This function performs an n-way union of n bitmaps. It performs this in an // optimized manner looping through all the bitmaps and performing unions one