Skip to content

Commit

Permalink
Derive(Clone) for Ones (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
jondo2010 authored Nov 18, 2024
1 parent f1db5d1 commit 8674140
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! ### Crate features
//!
//! - `std` (default feature)
//! - `std` (default feature)
//! Disabling this feature disables using std and instead uses crate alloc.
//!
//! ### SIMD Acceleration
Expand Down Expand Up @@ -1285,6 +1285,7 @@ impl ExactSizeIterator for Masks {}
/// An iterator producing the indices of the set bit in a set.
///
/// This struct is created by the [`FixedBitSet::ones`] method.
#[derive(Clone)]
pub struct Ones<'a> {
bitset_front: usize,
bitset_back: usize,
Expand Down

0 comments on commit 8674140

Please sign in to comment.