diff --git a/roaring/src/bitmap/store/array_store/visitor.rs b/roaring/src/bitmap/store/array_store/visitor.rs index 51dda9b9..d7293d7b 100644 --- a/roaring/src/bitmap/store/array_store/visitor.rs +++ b/roaring/src/bitmap/store/array_store/visitor.rs @@ -32,7 +32,7 @@ impl VecWriter { pub fn into_inner(self) -> Vec { // Consider shrinking the vec here. - // Exacty len could be too aggressive. Len rounded up to next power of 2? + // Exactly len could be too aggressive. Len rounded up to next power of 2? // Related, but not exact issue: https://github.com/RoaringBitmap/roaring-rs/issues/136 self.vec } diff --git a/roaring/src/treemap/multiops.rs b/roaring/src/treemap/multiops.rs index 39c6e15f..3a0adba6 100644 --- a/roaring/src/treemap/multiops.rs +++ b/roaring/src/treemap/multiops.rs @@ -91,8 +91,8 @@ where (key, bitmap) } None => { - let poped = PeekMut::pop(peek); - (poped.key, poped.bitmap) + let popped = PeekMut::pop(peek); + (popped.key, popped.bitmap) } }; @@ -209,8 +209,8 @@ where (key, bitmap) } None => { - let poped = PeekMut::pop(peek); - (poped.key, poped.bitmap) + let popped = PeekMut::pop(peek); + (popped.key, popped.bitmap) } };