We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a66483 commit 9af4366Copy full SHA for 9af4366
src/bitmap/store.rs
@@ -512,8 +512,10 @@ impl Store {
512
new.intersect_with(this);
513
*this = new;
514
}
515
- // TODO(jpg) intersect_with bitmap, run
516
- (_this @ &mut Bitmap(..), &Run(..)) => unimplemented!(),
+ (this @ &mut Bitmap(..), &Run(..)) => {
+ let other = other.to_bitmap();
517
+ this.intersect_with(&other);
518
+ }
519
(&mut Run(ref mut intervals1), &Run(ref intervals2)) => {
520
let mut merged = Vec::new();
521
0 commit comments