Skip to content

Commit

Permalink
Remove Clone trait from IterMut
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean authored and pczarn committed May 31, 2024
1 parent 77fc583 commit 2ca0aa3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1742,8 +1742,7 @@ pub struct MutBorrowedBit<'a, B: 'a + BitBlock> {
new_value: bool
}

/// An iterator for `BitVec`.
#[derive(Clone)]
/// An iterator for mutable references to the bits in a `BitVec`.
pub struct IterMut<'a, B: 'a + BitBlock = u32> {
vec: Rc<RefCell<&'a mut BitVec<B>>>,
range: Range<usize>,
Expand Down

0 comments on commit 2ca0aa3

Please sign in to comment.