Skip to content

Commit

Permalink
Implement Clone on the bitmap::Iter type
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerollmops committed Sep 2, 2024
1 parent 9e743c4 commit 62038c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roaring/src/bitmap/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use crate::{NonSortedIntegers, RoaringBitmap};
use alloc::vec::Vec;

/// An iterator for `RoaringBitmap`.
#[derive(Clone)]
pub struct Iter<'a> {
inner: iter::Flatten<slice::Iter<'a, Container>>,

Check failure on line 14 in roaring/src/bitmap/iter.rs

View workflow job for this annotation

GitHub Actions / ci (stable)

the trait bound `container::Iter<'a>: Clone` is not satisfied

Check failure on line 14 in roaring/src/bitmap/iter.rs

View workflow job for this annotation

GitHub Actions / ci (beta)

the trait bound `container::Iter<'a>: Clone` is not satisfied
size_hint: u64,
Expand Down

0 comments on commit 62038c7

Please sign in to comment.