From 2ca0aa3532742aaceb7f82025a0f56d960898109 Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Mon, 12 Feb 2024 14:04:29 -0800 Subject: [PATCH] Remove Clone trait from IterMut --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 583c0fd..40a1a5e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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>>, range: Range,