From 4077d19f9966bab3f10c65e4e5b120eee17e07a9 Mon Sep 17 00:00:00 2001 From: Dom Date: Sun, 6 Dec 2020 10:22:23 +0000 Subject: [PATCH] fix: use Treemap instead of Bitmap --- src/treemap/iter.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/treemap/iter.rs b/src/treemap/iter.rs index 217002c7..022d8bdb 100644 --- a/src/treemap/iter.rs +++ b/src/treemap/iter.rs @@ -135,7 +135,7 @@ impl RoaringTreemap { /// use roaring::RoaringTreemap; /// use std::iter::FromIterator; /// - /// let bitmap = (1..3).collect::(); + /// let bitmap = (1..3).collect::(); /// let mut iter = bitmap.iter(); /// /// assert_eq!(iter.next(), Some(1)); @@ -155,7 +155,7 @@ impl RoaringTreemap { /// use roaring::{RoaringBitmap, RoaringTreemap}; /// use std::iter::FromIterator; /// - /// let original = (0..6000).collect::(); + /// let original = (0..6000).collect::(); /// let mut bitmaps = original.bitmaps(); /// /// assert_eq!(bitmaps.next(), Some((0, &(0..6000).collect::()))); @@ -175,7 +175,7 @@ impl RoaringTreemap { /// use roaring::RoaringTreemap; /// use std::iter::FromIterator; /// - /// let original = (0..6000).collect::(); + /// let original = (0..6000).collect::(); /// let clone = RoaringTreemap::from_bitmaps(original.bitmaps().map(|(p, b)| (p, b.clone()))); /// /// assert_eq!(clone, original);